Issues while writing to stdout
Posted: 2010-07-13T11:30:58-07:00
These are only small things - but perhaps someone wants to look into that.
1) Pixel cache files are sometimes not deleted. Try:
I have looked into the debug messages - while using commands with "-limit area 0". It seems that when writing to file (small images), only one pixel cache file is created - which gets deleted afterwards. When writing to stdout in certain formats, e.g. GIF, there's also only one pixel cache file - which gets deleted afterwards. But when writing to stdout in other formats (like TIFF or BMP), two pixel cache files are created - and the second one isn't deleted afterwards.(?)
2) When writing image sequences to stdout, IM can crash:
Such a command doesn't make much sense, but perhaps a crash can be avoided.
(When I'm using 'PNG:-' for example, only the rose image gets identified - but there's no crash.)
3) Writing to stdout while using "-verbose" doesn't seem to work:Magick: no decode delegate for this image format `R:/Temp/magick-_5_l-w3p' @ error/constitute.c/ReadImage/532.
When writing it as file, there's no problem of course:xc:white=>white XC 1x1 1x1+0+0 16-bit DirectClass 0.000u 0:00.000
xc:white=>test.gif XC 1x1 1x1+0+0 16-bit Palette PseudoClass 1c 0.016u 0:00.016
Part of that originated in that thread:
viewtopic.php?f=1&t=16615
I'm using ImageMagick v6.6.3-0 Q16, on Windows XP.
1) Pixel cache files are sometimes not deleted. Try:
Code: Select all
convert rose: TIFF:- | identify -
2) When writing image sequences to stdout, IM can crash:
Code: Select all
convert rose: logo: BMP:- | identify -
(When I'm using 'PNG:-' for example, only the rose image gets identified - but there's no crash.)
3) Writing to stdout while using "-verbose" doesn't seem to work:
Code: Select all
convert -verbose xc:white GIF:- | identify -
When writing it as file, there's no problem of course:
Code: Select all
convert -verbose xc:white GIF:test.gif
xc:white=>test.gif XC 1x1 1x1+0+0 16-bit Palette PseudoClass 1c 0.016u 0:00.016
Part of that originated in that thread:
viewtopic.php?f=1&t=16615
I'm using ImageMagick v6.6.3-0 Q16, on Windows XP.