exr to jpg - ignore exr bounding box

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
mrCatfish
Posts: 6
Joined: 2019-05-08T08:59:09-07:00
Authentication code: 1152

exr to jpg - ignore exr bounding box

Post by mrCatfish »

Hi, there seems to be a bug in reading exrs with embedded bounding box and converting to a format that does not support alpha.

Please see this thread: http://www.imagemagick.org/discourse-se ... f596cba877
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: exr to jpg - ignore exr bounding box

Post by magick »

Try

Code: Select all

convert -background none solarSystem.1116.exr solarSystem.jpg
Is that the expected results?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: exr to jpg - ignore exr bounding box

Post by fmw42 »

That seems to work for me.

Code: Select all

magick -background none solarSystem.1116.exr solarSystem.png
Is all transparent background

Code: Select all

magick -background none solarSystem.1116.exr solarSystem.jpg
is all black background
mrCatfish
Posts: 6
Joined: 2019-05-08T08:59:09-07:00
Authentication code: 1152

Re: exr to jpg - ignore exr bounding box

Post by mrCatfish »

You're right, that worked. Thanks very much!
Post Reply