Search found 190 matches
- 2019-05-05T02:49:42-07:00
- Forum: Users
- Topic: Create a pdf with layers from several tiffs files
- Replies: 7
- Views: 8811
Re: Create a pdf with layers from several tiffs files
PDF can include layer, Optional Content Groups, since version 1.5. The pdf imagemagick generates have a header of 1.3, so it's easy to guess imagemagick has no feature to create it. Many PDF product claims that can do, but I only found few open source that can create PDF layer. If you are willing to...
- 2019-05-04T04:49:54-07:00
- Forum: Users
- Topic: how to crop jpg and maintain the dimension
- Replies: 12
- Views: 11463
Re: how to crop jpg and maintain the dimension
@snibgo v 6.9.9-40 is the same with you. % convert lena.png -background blue -crop 512x512+50+50\! +write info: -flatten out.png lena.png PNG 462x462 512x512+0+0 8-bit sRGB 0.010u 0:00.000 Here is the result from v 7.0.8-42 % magick lena.png -background blue -crop 512x512+50+50\! +write info: -flatt...
- 2019-05-01T08:03:03-07:00
- Forum: Bugs
- Topic: tiff:has-layers no longer works when [0] is added.
- Replies: 0
- Views: 13278
tiff:has-layers no longer works when [0] is added.
I think it happened every layered tiff, but the file has taken from https://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=35942 $ magick identify -format '%[tiff:has-layers]\n' 10212_transparent_with_layers.tif[0] identify: Incompatible type for "RichTIFFIPTC"; tag ignored. ...
- 2019-05-01T06:58:00-07:00
- Forum: Users
- Topic: TIFF:ignore-layers=true
- Replies: 11
- Views: 11798
- 2019-05-01T06:48:09-07:00
- Forum: Bugs
- Topic: When specified relative or absolute path, identify or convert report error.
- Replies: 1
- Views: 6929
Re: When specified relative or absolute path, identify or convert report error.
OK, I checked it with 6.9.10-42 comes from Homebrew: /usr/local/opt/imagemagick@6/bin/identify -version Version: ImageMagick 6.9.10-42 Q16 x86_64 2019-04-26 https://imagemagick.org Copyright: © 1999-2019 ImageMagick Studio LLC License: https://imagemagick.org/script/license.php Features: Cipher DPC ...
- 2019-05-01T02:04:54-07:00
- Forum: Bugs
- Topic: When specified relative or absolute path, identify or convert report error.
- Replies: 1
- Views: 6929
When specified relative or absolute path, identify or convert report error.
I recently do not use version 6, but I've got really confused with this behavior. I got v6.9.9-40 from macport for my macOS Mojave 10.14.4. $ identify -version Version: ImageMagick 6.9.9-40 Q16 x86_64 2018-11-24 http://www.imagemagick.org Copyright: © 1999-2018 ImageMagick Studio LLC License: http:/...
- 2019-04-30T21:45:58-07:00
- Forum: Users
- Topic: TIFF:ignore-layers=true
- Replies: 11
- Views: 11798
Re: TIFF:ignore-layers=true
After all, I think following seems to be a bug: In v6, even without -define tiff:ignore-layers=true, it cannot extract the layer[0] only. In v7, $ magick convert -quiet -define tiff:ignore-layers=true 10212_transparent_with_layers.tif[0] x7.tif $ magick identify x7.tif x7.tif TIFF 535x1336 535x1336+...
- 2019-04-30T21:39:28-07:00
- Forum: Users
- Topic: TIFF:ignore-layers=true
- Replies: 11
- Views: 11798
Re: TIFF:ignore-layers=true
Sorry for confusing. Somewhere in analyzing, the file 10212_transparent_with_layers.tif had changed. It no longer output errors (except warinings) from ImageMagick. So, if the command above does not work in v6, please just convert it first to remove something that caused ImageMagick error. % convert...
- 2019-04-30T21:33:35-07:00
- Forum: Users
- Topic: TIFF:ignore-layers=true
- Replies: 11
- Views: 11798
Re: TIFF:ignore-layers=true
In v6, I can remove them by the following command: % convert -quiet 10212_transparent_with_layers.tif +profile '37724,8bim' x1.tif It seems Tag 34377 has to be referenced as 8bim. Edit: % convert -quiet 10212_transparent_with_layers.tif +profile '8bim' x2.tif is enough for remove photoshop related t...
- 2019-04-30T21:05:03-07:00
- Forum: Users
- Topic: TIFF:ignore-layers=true
- Replies: 11
- Views: 11798
Re: TIFF:ignore-layers=true
Also I believe property tiff:has-layers had worked properly: magick identify -format '%[tiff:has-layers]\n' out0-v6.tif[0] identify: unknown image property "%[tiff:has-layers]" @ warning/property.c/InterpretImageProperties/3990. This once returned "true" without warning. See http...
- 2019-04-30T19:24:22-07:00
- Forum: Users
- Topic: TIFF:ignore-layers=true
- Replies: 11
- Views: 11798
Re: TIFF:ignore-layers=true
So I think it is a bug in +profile and in -strip. Oh, I see. Here I have to add -define tiff:ignore-layers=true $ convert -quiet -define tiff:ignore-layers=true 10212_transparent_with_layers.tif +profile "34377,37724" out.tif $ tiffdump out.tif out.tif: Magic: 0x4949 <little-endian> Versi...
- 2019-04-30T18:34:02-07:00
- Forum: Users
- Topic: TIFF:ignore-layers=true
- Replies: 11
- Views: 11798
Re: TIFF:ignore-layers=true
Here is tiffdump output: $ tiffdump 10212_transparent_with_layers.tif 10212_transparent_with_layers.tif: Magic: 0x4949 <little-endian> Version: 0x2a <ClassicTIFF> Directory 0: offset 8 (0x8) next 0 (0) SubFileType (254) LONG (4) 1<0> ImageWidth (256) SHORT (3) 1<535> ImageLength (257) SHORT (3) 1<1...
- 2019-04-30T18:15:49-07:00
- Forum: Users
- Topic: TIFF:ignore-layers=true
- Replies: 11
- Views: 11798
Re: TIFF:ignore-layers=true
Photoshop layers is just a tag 37724 for tiff. (see Photoshop-specific TIFF Tags part at http://paulbourke.net/dataformats/psdpsb/psdpsb.html#50577409_72092 for example.) When -define tiff:ignore-layers=true is used with identify, it is regarded as just a tag, otherwise (i.e. without -define tiff:ig...
- 2019-04-28T06:41:28-07:00
- Forum: Developers
- Topic: density unit output
- Replies: 7
- Views: 11979
Re: density unit output
You said original image is bitmap. So as for a spec, its original unit is pixels per meter.
https://en.wikipedia.org/wiki/BMP_file_format
https://en.wikipedia.org/wiki/BMP_file_format
- 2019-03-27T06:59:15-07:00
- Forum: Bugs
- Topic: Failed to convert PNG file with error " IDAT: invalid distance too far back"
- Replies: 4
- Views: 12428
Re: Failed to convert PNG file with error " IDAT: invalid distance too far back"
pngfix (comes with libpng) will fix your png. $ pngcheck -v sample.png File: sample.png (2739 bytes) chunk IHDR at offset 0x0000c, length 13 409 x 242 image, 8-bit palette, non-interlaced chunk PLTE at offset 0x00025, length 768: 256 palette entries chunk IDAT at offset 0x00331, length 1902 zlib: de...