1px black line at the right side when export JPG

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
User avatar
Animark
Posts: 505
Joined: 16 Oct 2008, 15:26
Location: Berlin

1px black line at the right side when export JPG

Post by Animark »

Hi,

when I draw a picture in TVP with project size = 1920 x 1080 pixel and want to export it as a JPG with a size = 1000 x 563 pixel (preserve proportion checked), i get a JPG with a size of 1001 x 563 pixel. TVPaint adds a 1 pixel black line at the right side of the image. When I come back to the export dialog, to export it again, it shows a size of 1001 x 563 pixel. Take a look at the picture to see the black line.

Can someone confirm this? Is this a bug? I use TVPaint 9.5.12.
Attachments
Take a look to the right side to see the black line.
Take a look to the right side to see the black line.
Testbild4.jpg (28.98 KiB) Viewed 9204 times
TVPaint 10.5.7 - Win10/64
TVPaint 11.0.8 - Win10/64
TVPaint 11.0.8 - Win10/64 (Wacom Companion 2)
User avatar
Hervé
Site Admin
Posts: 3490
Joined: 08 Feb 2006, 17:00
Location: Metz France
Contact:

Re: 1px black line at the right side when export JPG

Post by Hervé »

It's a rounding issue when "preserve proportion" is actived.
Unselect it to fix this problem.
Hervé ADAM, TVPaint Team
User avatar
Animark
Posts: 505
Joined: 16 Oct 2008, 15:26
Location: Berlin

Re: 1px black line at the right side when export JPG

Post by Animark »

Hm?
Thanks, but if I uncheck this I will get the black line at the bottom of the picture. If I also uncheck "Correct Aspect" the black line disappears, but I am not shure if the picture will be stretched a little bit and looses quality.
TVPaint 10.5.7 - Win10/64
TVPaint 11.0.8 - Win10/64
TVPaint 11.0.8 - Win10/64 (Wacom Companion 2)
User avatar
slowtiger
Posts: 2950
Joined: 08 May 2008, 21:10
Location: berlin, germany
Contact:

Re: 1px black line at the right side when export JPG

Post by slowtiger »

Can't you just use a similar size without rounding problems, like 960 * 540 or 992 * 558 or 1008 * 567?

As for the rounding error: wouldn't it be possible to add a routine which just checks and adds a copy of the preceding pixel line or column if necessary? This way the black line would vanish, and a repeated pixel at the edge of the frame is most unlikely to be detected.
TVP 10.0.18 and 11.0 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
TVP 11.0 and 11.7 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
TVP 11.7 Mac Mini M2pro 32GB OS 13.5
User avatar
Animark
Posts: 505
Joined: 16 Oct 2008, 15:26
Location: Berlin

Re: 1px black line at the right side when export JPG

Post by Animark »

slowtiger wrote:Can't you just use a similar size without rounding problems, like 960 * 540 or 992 * 558 or 1008 * 567?
Yes, I should use that sizes. I never had that problem in other applications, that's why I am a little bit irritated.
Animark wrote:As for the rounding error: wouldn't it be possible to add a routine which just checks and adds a copy of the preceding pixel line or column if necessary? This way the black line would vanish, and a repeated pixel at the edge of the frame is most unlikely to be detected.
Good idea, better than a black line, but not as good as a solution without rounding problems :-)
TVPaint 10.5.7 - Win10/64
TVPaint 11.0.8 - Win10/64
TVPaint 11.0.8 - Win10/64 (Wacom Companion 2)
Post Reply