Search found 190 matches
- 2015-07-28T17:02:08-07:00
- Forum: Users
- Topic: Number of pages of tiff in version 6.9.1
- Replies: 9
- Views: 9044
Re: Number of pages of tiff in version 6.9.1
In some environment or older version, I have experienced identify generate extra newline at the end. So "head -1" is safer. In Windows CMD (without extra install), it becomes tricky, > identify image.tiff | findstr /v /r "^$" | find /c /v "" (findstr is for sure to remo...
- 2015-07-28T14:20:01-07:00
- Forum: Users
- Topic: Number of pages of tiff in version 6.9.1
- Replies: 9
- Views: 9044
Re: Number of pages of tiff in version 6.9.1
It returns always 1 (in 6.9.1-10 on Windows)fmw42 wrote:just use identify on the first page
Code: Select all
identify -format "%n\n" yourimage.tiff[0]
- 2015-07-28T07:27:26-07:00
- Forum: Users
- Topic: Number of pages of tiff in version 6.9.1
- Replies: 9
- Views: 9044
Re: Number of pages of tiff in version 6.9.1
I don't know when it changes, but even if I use older version, only "%n" was special - "%n\n" or even "%n " produced multiple output. Probably developer has changed it for keeping consistency. [EDIT] I checked 6.7.6-3 on Cygwin, 6.5.4-7 on CentOS. And for tiff, check th...
- 2015-07-26T17:07:12-07:00
- Forum: Bugs
- Topic: Cannot output png to STDOUT if prefix is PNG48, PNG64 or PNG00 on Windows
- Replies: 5
- Views: 6154
Re: Cannot output png to STDOUT if prefix is PNG48, PNG64 or PNG00 on Windows
I rechecked after newly installed to C: What does convert -list format | grep PNG identify -list format | grep PNG say? Are PNG00, PNG48, and PNG64 among the listed formats for both commands? I suppose they are, because you said that PNG48 worked for you when directing the output to a file. Yes, all...
- 2015-07-26T06:03:43-07:00
- Forum: Bugs
- Topic: Cannot output png to STDOUT if prefix is PNG48, PNG64 or PNG00 on Windows
- Replies: 5
- Views: 6154
Cannot output png to STDOUT if prefix is PNG48, PNG64 or PNG00 on Windows
c:\>set MAGICK_TMPDIR=C:/WINDOWS/TEMP c:\>convert -version Version: ImageMagick 6.9.1-10 Q16 x86 2015-07-25 http://www.imagemagick.org Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC License: http://www.imagemagick.org/script/license.php Features: Cipher DPC HDRI Modules OpenMP Delegates ...
- 2015-07-25T16:21:05-07:00
- Forum: Users
- Topic: Tiff with layers boolean?
- Replies: 32
- Views: 41979
Re: Tiff with layers boolean?
I am aware of it. Here, I wanted to show convenient one-liner, (although tail is unix specific.)dlemstra wrote:The property will be set on the image and all its layers so that means you can get something like this:
truetruetrue
- 2015-07-25T08:58:53-07:00
- Forum: Users
- Topic: Tiff with layers boolean?
- Replies: 32
- Views: 41979
Re: Tiff with layers boolean?
I understand why. So checking multi page or multi flame is archived easier. Thank you again. identify -quiet -format "%n %[tiff:has-layers]\n" unknown.tif | tail -1 outputs: 1 for single-page & no layer tiff; 2 for 2 page tiff; 3 true for 3 layer tiff. (Indeed 2 layers. As [0] is autom...
- 2015-07-25T07:26:10-07:00
- Forum: Users
- Topic: Tiff with layers boolean?
- Replies: 32
- Views: 41979
Re: Tiff with layers boolean?
It looks OK if provided multi-layer tiff, but with 6.9.1-10 >identify -format "%[tiff:has-layers]\n" Hello.tif identify.exe: Incompatible type for "RichTIFFIPTC"; tag ignored. `TIFFFetchNormalTag' @ warning/tiff.c TIFFWarnings/856. identify.exe: unknown image property "%[tif...
- 2015-07-24T20:38:27-07:00
- Forum: Users
- Topic: Text to .bmp
- Replies: 18
- Views: 14481
Re: Text to .bmp
Your ALPHABET.TXT binary seems to be broken at 0x91 0x92 0x93 0x94.snibgo wrote:There may be something funny in your text file. With a file that contains ASCII 32 to 256, plus a new-line every 32 characters (file http://snibgo.com/imforums/ALPHABET.TXT )
- 2015-07-24T19:02:40-07:00
- Forum: Users
- Topic: Text to .bmp
- Replies: 18
- Views: 14481
Re: Text to .bmp
Took the new lines out, saved it from NotePad with encoding: ANSI, ran your convert and got what appears to be the desired glyphs, that is *without* anything prepended. Now I'll try to make a strike font out of it. If your charset range is limited to 0x0000 - 0x00FF, that would be OK. [EDIT] At a q...
- 2015-07-23T18:02:29-07:00
- Forum: Users
- Topic: Text to .bmp
- Replies: 18
- Views: 14481
Re: Text to .bmp
It must be BOM. Try to save the text UTF-8 without BOM.dnorton wrote:There seems to be something prepended but I can deal with that.
- 2015-07-23T17:30:05-07:00
- Forum: Users
- Topic: Text to .bmp
- Replies: 18
- Views: 14481
Re: Text to .bmp
If you save text as UTF-8 everything should work fine.
I guess your text is UTF-16 LE or something like.
I guess your text is UTF-16 LE or something like.
- 2015-07-23T09:27:09-07:00
- Forum: Bugs
- Topic: possible bug saving transparent images IM 6.9.1.9 Q16 Mac OSX
- Replies: 4
- Views: 5628
Re: possible bug saving transparent images IM 6.9.1.9 Q16 Mac OSX
6.9.1-9 Q16 on Windows: convert -background transparent -resize 1024x768 -depth 8 -fill "rgba(170,170,170,184)" -font Arial -pointsize 50 label:"Test Stamp" PNG:- | identify -verbose - ... Colors: 257 Histogram: 140491: ( 0, 0, 0, 0) #00000000 graya(0,0) 1034: (170,170,170,255) #...
- 2015-07-22T18:55:19-07:00
- Forum: Bugs
- Topic: Color changes when converting PDF to JPG using PHP
- Replies: 12
- Views: 10850
Re: Color changes when converting PDF to JPG using PHP
Your input pdf is CMYK. Output is RGB.
Current release of ImageMagick (6.9.1-9) does not change colorspace with your command, i.e. CMYK jpg is generated. So if you want CMYK jpg, upgrade is recommended.
Current release of ImageMagick (6.9.1-9) does not change colorspace with your command, i.e. CMYK jpg is generated. So if you want CMYK jpg, upgrade is recommended.
- 2015-07-21T20:25:25-07:00
- Forum: Users
- Topic: How to draw text antialiased on alpha channel only
- Replies: 7
- Views: 6419
Re: How to draw text antialiased on alpha channel only
Looks like the old sRGB versus linear problem is contributing to this. Ah, so if the text is black the problem doesn't occur (checked with 6.9.1-3 on Cygwin). So workaround may be: convert -background transparent -resize 1024x768 -fill '#000000B8' -font Arial -pointsize 50 label:'Test Stamp' -alpha...