=======8<-------- :::> cat write_stdout.txt # ImageMagick pixel enumeration: 1,3,65535,RGB 0,0: ( 9708,53647,37374) #25ECD18F91FE rgb(14.8135%,81.8601%,57.0291%) 0,1: ( 7891,55309,44247) #1ED3D80DACD7 rgb(12.0409%,84.3961%,67.5166%) 0,2: (13177,49770,19788) #3379C26A4D4C rgb(20.1068%,75.9442%,30.1946%)
:::> cat write_stdout.txt | convert label:@- write_stdout.txt.gif convert: missing an image filename `write_stdout.txt.gif'. :::> convert label:@write_stdout.txt write_stdout.txt.gif =======8<-------- It seems that IM suddenly can NOT read labels from stdin '-'!!! I need this for IM examples as I need to pre-process backslashes and percents while reading in labels from a file (to avoid a problem with '\n' or %c) This in intolerable!!! An alturnative solution is to NEVER process backslash and percent escapes when reading labels from a file. EG: backslash and percent escapes are only valid from the command line or API arguments and never in a read in from a file using '@' This makes good sense, and if implemented then it should be documented to make it properly defined and unchanging. However it does have small furture expansion problem... As -comment is not suposed to process percents or backslashes until it actually assignes the comment meta-data to an actual image. This make it difficult to implement -comment '@comment.txt', unless when reading comments from files will have to double up percents and backslashes to ensure they are escaped properly in the unassigned comment setting. Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]> ----------------------------------------------------------------------------- Windows gives you a nice view of clouds so you can't see any potentially useful boot time messages. -- Bill Hay ----------------------------------------------------------------------------- Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/ _______________________________________________ Magick-developers mailing list Magick-developers@imagemagick.org http://studio.imagemagick.org/mailman/listinfo/magick-developers