I've found
mogrify -format png -alpha deactivate -flatten -transparent white *.tif[0]
that works on images that have background color different from #ffffff
thanks all for the support
Search found 4 matches
- 2016-06-16T02:39:27-07:00
- Forum: Developers
- Topic: Converting Image Lost Background Color
- Replies: 10
- Views: 11960
- 2016-06-14T08:58:30-07:00
- Forum: Developers
- Topic: Converting Image Lost Background Color
- Replies: 10
- Views: 11960
Re: Converting Image Lost Background Color
Please show an example of a TIF file that loses transparency when converted to a PNG. You can upload to somewhere like dropbox.com, and paste the URL here. Actually I'm testing on an image that I've found in a post here, cause I need to convert a lot of images here is the link: https://www.dropbox ...
- 2016-06-14T02:17:24-07:00
- Forum: Developers
- Topic: Converting Image Lost Background Color
- Replies: 10
- Views: 11960
Re: Converting Image Lost Background Color
I'm actually using ImageMagick-6.9.1-0-Q16-x64 for Win 10 from command line: convert img.tif img.png I want to convert a Tiff into a PNG, if the Tiff have an opaque background no problem, but when i convert a Tiff with a transparent background authomatically the PNG appear with a white/black ...
- 2016-06-13T06:51:45-07:00
- Forum: Developers
- Topic: Converting Image Lost Background Color
- Replies: 10
- Views: 11960
Converting Image Lost Background Color
Hi Everybody, Is there any command that give me the permission to maintain the background color when I convert an image I've found a solution for convert only image with background or image without background but I need an univocal command that allow me to convert correctly image without knowing the ...