I have a problem displaying and converting certain Adobe PSD files. Files that are 1-bit B/W (Gray).
When displaying or converting to e.g. PNG the file show vertical lines. I have tried this with the newest 6.8.9-6 ImageMagick and some older versions. Problem on several platforms - Mac OS X, Linux.
PSD image can be found here:
https://dl.dropboxusercontent.com/u/263 ... it_PSD.psd
simply do:
display 1-bit_PSD.psd
or
convert 1-bit_PSD.psd 1-bit_PSD.png
Resulting image can be seen here:
https://dl.dropboxusercontent.com/u/263 ... it_PSD.png
Other PSD's that are not 1-bit works fine.
I cannot spot the error in the code - please help
Thank You.
Henrik
Conversion / Display of 1-bit PSD image shows vertical lines
Re: Conversion / Display of 1-bit PSD image shows vertical l
The problem doesn't seem to be in the PNG encoder. Converting to GIF also results in vertical black lines.
Old version ImageMagick 6.6.9-6 2011-04-28 (which comes with Ubuntu 14:04) does not create vertical lines
when converting to PNG or GIF.
Old version ImageMagick 6.6.9-6 2011-04-28 (which comes with Ubuntu 14:04) does not create vertical lines
when converting to PNG or GIF.
Last edited by glennrp on 2014-07-31T07:45:46-07:00, edited 2 times in total.
Re: Conversion / Display of 1-bit PSD image shows vertical l
I will take a look at the PSD coder.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Conversion / Display of 1-bit PSD image shows vertical l
It looks fine in my old PS (CS).
If I convert to PNG or GIF, I get black vertical lines. If I convert to TIFF, I get white vertical lines.
IM 6.8.9.6 Q16 Mac OSX
If I convert to PNG or GIF, I get black vertical lines. If I convert to TIFF, I get white vertical lines.
IM 6.8.9.6 Q16 Mac OSX
Re: Conversion / Display of 1-bit PSD image shows vertical l
I have found the bug and it will be fixed in the next release of ImageMagick (6.8.9-7). Thank you for reporting this. I am getting the following output after the fix: https://www.dropbox.com/s/rs28lii5nj0ypje/1-bit_PSD.png. The black garbage in the right bottom corner is really there in the image.
@glenn: On my Ubuntu machine it is also producing an incorrect image. But it has white lines instead of black.
@glenn: On my Ubuntu machine it is also producing an incorrect image. But it has white lines instead of black.
Re: Conversion / Display of 1-bit PSD image shows vertical l
Verified that IM6 - SVN revision 16247 built on Ubuntu produces the correct result. Thanks, Dirk.
Re: Conversion / Display of 1-bit PSD image shows vertical l
I can confirm this solves the problem.
Thank You for Your quick response.
/Henrik
Thank You for Your quick response.
/Henrik