Problem with IM version TIF to PNG

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Locked
cyberfido
Posts: 2
Joined: 2020-02-18T01:57:42-07:00
Authentication code: 1152

Problem with IM version TIF to PNG

Post by cyberfido »

Hi

I have an issue, when convert a tiff image to png, with IM 6.9.7-4 I got the correct results, but when I update the IM to 6.9.10-42 I got the png file with a missing part like if we take an erase tool and delete a corner of the image...

is there something in the update that could cause this issue?

Thanks

snibgo
Posts: 13034
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Problem with IM version TIF to PNG

Post by snibgo »

Please upload a sample input and output to somewhere, and paste links here.
snibgo's IM pages: im.snibgo.com

User avatar
fmw42
Posts: 26383
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Problem with IM version TIF to PNG

Post by fmw42 »

Also provide your exact command line. Perhaps your syntax is in error. What is your platform?

cyberfido
Posts: 2
Joined: 2020-02-18T01:57:42-07:00
Authentication code: 1152

Re: Problem with IM version TIF to PNG

Post by cyberfido »

Hi

here the image used

https://www.dropbox.com/s/lfgptw238a4xa ... l.tif?dl=0

and the result

https://www.dropbox.com/s/aiavnvdjjm6zp ... t.png?dl=0

here the command

convert.exe -define bmp:format=bmp3 "D:/CONTENTSERV/CS18/CS18.0/CSLive/volumes/Demo/AA/original.tif[0]" "(" +clone -clip -strip +clip ")" -compose over -composite -resize "1280x1280>" -quality 85 -colorspace srgb -antialias -intent Relative -black-point-compensation "D:/CONTENTSERV/CS18/CS18.0/CSLive/data/.cs/mam/volumes/01/0136/files/13652/thumbs/result.png"

snibgo
Posts: 13034
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Problem with IM version TIF to PNG

Post by snibgo »

Why do you have "-clip -strip +clip"? What do you want that to do?

You have "-define bmp:format=bmp3" but this has no effect as you don't use BMP format.

You have "-intent Relative -black-point-compensation" but these have no effect unless you follow this with "-profile".

The input has an embedded AdobeRGB profile. If you want to convert the image to sRGB, you need "-profile sRGB.icc" or some other icc profile.

With your command and IM v6.9.9-50 I don't get a "missing part like if we take an erase tool and delete a corner of the image".
snibgo's IM pages: im.snibgo.com

Locked