Noticed an inconsistency with Pseudo-filename '-' across different versions of ImageMagick
Posted: 2018-01-19T12:07:54-07:00
Greetings,
I noticed an inconsistency in few ImageMagick versions but please consider this question specific to IMv7.0.7. I'm using Windows 2012R2 (64-bit) to test below commands and directly invoking it in Command Prompt.
I'm trying to write and read from the standard streams using a pseudo-filename 'TIFF:-' and '-' and this seems very inconsistent across different versions in my limited experience. I just wanted to confirm if I'm not the only one who is having this issue.
Below is the command I used against IMv6.x (Convert PNG to TIFF and dump its information):
"C:\Program Files (x86)\ImageMagick-6.8.8-Q8\convert.exe" -depth 8 -type TrueColorMatte "test.png" TIFF:- | "C:\Program Files (x86)\ImageMagick-6.8.8-Q8\identify.exe" -verbose -
(I tested on IMv6.8.8 and IMv6.9.9. And, it works fine with IMv6.8.8 but doesn't produce any output for IMv6.9.9)
The same command I used against IMv7.x:
"C:\Program Files (x86)\ImageMagick-7.0.7-Q8\magick.exe" -depth 8 -type TrueColorMatte "test.png" TIFF:- | "C:\Program Files (x86)\ImageMagick-7.0.7-Q8\magick.exe" identify -verbose -
(This works on IMv7.0.4 and IMv7.0.6 but not with IMv7.0.7.)
Installers:
IMv7.0.7 = ImageMagick-7.0.7-21-Q8-x86-static.exe
IMv7.0.6 = ImageMagick-7.0.6-10-Q8-x86-static.exe
IMv7.0.4 = ImageMagick-7.0.4-10-Q8-x86-static.exe
IMv6.9.9 = ImageMagick-6.9.9-33-Q8-x86-static.exe
IMv6.8.8 = ImageMagick-6.8.8-6-Q8-x86-static.exe
Let me know if you need any other information.
Regards,
Rahul Patel
I noticed an inconsistency in few ImageMagick versions but please consider this question specific to IMv7.0.7. I'm using Windows 2012R2 (64-bit) to test below commands and directly invoking it in Command Prompt.
I'm trying to write and read from the standard streams using a pseudo-filename 'TIFF:-' and '-' and this seems very inconsistent across different versions in my limited experience. I just wanted to confirm if I'm not the only one who is having this issue.
Below is the command I used against IMv6.x (Convert PNG to TIFF and dump its information):
"C:\Program Files (x86)\ImageMagick-6.8.8-Q8\convert.exe" -depth 8 -type TrueColorMatte "test.png" TIFF:- | "C:\Program Files (x86)\ImageMagick-6.8.8-Q8\identify.exe" -verbose -
(I tested on IMv6.8.8 and IMv6.9.9. And, it works fine with IMv6.8.8 but doesn't produce any output for IMv6.9.9)
The same command I used against IMv7.x:
"C:\Program Files (x86)\ImageMagick-7.0.7-Q8\magick.exe" -depth 8 -type TrueColorMatte "test.png" TIFF:- | "C:\Program Files (x86)\ImageMagick-7.0.7-Q8\magick.exe" identify -verbose -
(This works on IMv7.0.4 and IMv7.0.6 but not with IMv7.0.7.)
Installers:
IMv7.0.7 = ImageMagick-7.0.7-21-Q8-x86-static.exe
IMv7.0.6 = ImageMagick-7.0.6-10-Q8-x86-static.exe
IMv7.0.4 = ImageMagick-7.0.4-10-Q8-x86-static.exe
IMv6.9.9 = ImageMagick-6.9.9-33-Q8-x86-static.exe
IMv6.8.8 = ImageMagick-6.8.8-6-Q8-x86-static.exe
Let me know if you need any other information.
Regards,
Rahul Patel