Or your 32-bit float tiff is tiled format, that is patched very recently:
https://imagemagick.org/discourse-serve ... ff#p166078
Search found 190 matches
- 2019-09-05T19:25:46-07:00
- Forum: Users
- Topic: convert grayscale tif to grayscale png not working
- Replies: 5
- Views: 11573
- 2019-08-23T04:17:30-07:00
- Forum: Bugs
- Topic: Tiff image without TIFFTAG_PHOTOMETRIC won't load
- Replies: 1
- Views: 54600
Re: Tiff image without TIFFTAG_PHOTOMETRIC won't load
TIFFTAG_PHOTOMETRIC is required field. There is no default. See https://www.awaresystems.be/imaging/tif ... ation.html
- 2019-08-05T06:59:55-07:00
- Forum: Users
- Topic: Preserve EXIF while conversation from TIF to TIF/TIF to JPG
- Replies: 17
- Views: 43633
Re: Preserve EXIF while conversation from TIF to TIF/TIF to JPG
Why shows it IrfanView as EXIF? But however, how can I get these information into the final JPG as EXIF? Accroding to the spec of Exif 2.3 http://www.cipa.jp/std/documents/e/DC-008-2012_E.pdf 4.6.4 TIFF Rev. 6.0 Attribute InformationTable 4 lists the attribute information used in Exif, including th...
- 2019-07-31T00:52:45-07:00
- Forum: Users
- Topic: automatically append jpg files
- Replies: 2
- Views: 8505
Re: automatically append jpg files
magick \( 1a.jpg 1b.jpg 1c.jpg +append \) \( 1d.jpg 1e.jpg 1f.jpg +append \) -append 1.jpg will do a job for page 1. Repeat using bash script. It's not difficult. for i in `seq 1 50` do magick \( ${i}a.jpg ${i}.jpg ${i}.jpg +append \) \( ${i}d.jpg ${i}e.jpg ${i}f.jpg +append \) -append ${i}.jpg done
- 2019-07-24T08:57:22-07:00
- Forum: Users
- Topic: PDF Bookmarks to individual file names
- Replies: 3
- Views: 8798
Re: PDF Bookmarks to individual file names
You need some programming using some library that can handle PDF bookmark, for example Apache PDFBox in Java. Following page would be your help: https://memorynotfound.com/apache-pdfbox-bookmark-pdf-example/ You can also split it to single page pdf files in it, so then write a script that convert to...
- 2019-07-16T05:02:02-07:00
- Forum: Users
- Topic: Overwrite images with original extensions
- Replies: 3
- Views: 9887
Re: Overwrite images with original extensions
%f is whole filename. Just replace %[basename] to %f and remove the last ".jpg" at your command.
- 2019-07-15T21:08:41-07:00
- Forum: Users
- Topic: Combine overlap of two images
- Replies: 2
- Views: 7592
Re: Combine overlap of two images
If the gray area is your 2nd image is transparent,
will do the job.
Code: Select all
magick 1st.png 2nd.png -compose copy_opacity -composite result.png
- 2019-07-04T23:02:13-07:00
- Forum: Bugs
- Topic: cannot create png with color-type=4 directly.
- Replies: 4
- Views: 10254
Re: cannot create png with color-type=4 directly.
In my opinion, "-type" should be used only to specify the format of the written file, not to change pixel values. If we want to make pixels gray, we should use "-colorspace Gray" or another operation that changes pixels. Good point. My first example line that is writing to tiff,...
- 2019-07-04T19:43:41-07:00
- Forum: Bugs
- Topic: cannot create png with color-type=4 directly.
- Replies: 4
- Views: 10254
Re: cannot create png with color-type=4 directly.
Thank you snibgo. In my enviroment (see above), -colorspace Gray results the same. Without -define color-type, color_type becomes 3. With -define color-type=4, it outputs warning and color-type becomes 6. I will try with other version later when I have time. To clarify: $ rm x.png $ magick -version ...
- 2019-07-04T19:11:44-07:00
- Forum: Bugs
- Topic: cannot create png with color-type=4 directly.
- Replies: 4
- Views: 10254
cannot create png with color-type=4 directly.
I tried with 7.0.8-51 Q16 x64 HDRI on Windows command line, and 7.0.8-50 Q16 x86_64 HDRI on msys2. (Both are on Windows 7 64 bit.) For example, $ magick logo: \( +clone -negate -colorspace HSV -separate -delete 0,1 \) -compose copy_opacity -composite -type GrayScaleAlpha x.tif create Gray+Alpha tiff...
- 2019-06-30T19:10:09-07:00
- Forum: Magick.NET
- Topic: Swap color channels
- Replies: 3
- Views: 63422
Re: Swap color channels
Get IMagickCollection by Separate(), reorder to the state whatever you want, then Combine();
Code: Select all
var x = image.Separate().ToList();
var y = new MagickImageCollection();
y.Add(x[2]);
y.Add(x[1]);
y.Add(x[0]);
var swapped = y.Combine();
- 2019-06-21T04:55:36-07:00
- Forum: Bugs
- Topic: Picture flipped(mirror image) after conversion to Color TIFF - 25035150
- Replies: 3
- Views: 11188
Re: Picture flipped(mirror image) after conversion to Color TIFF - 25035150
Both your input and output files has Orientation: RightTop (= 6) value. $ magick identify -verbose IMG_0233.jpg | grep -i orient Orientation: RightTop exif:Orientation: 6 $ magick identify -verbose 'Converted - 2019-06-21T115901.857.tiff' | grep -i orient Orientation: RightTop Most viewer support or...
- 2019-06-12T23:46:53-07:00
- Forum: Bugs
- Topic: Problem with Group 4 compression on B&W TIFF
- Replies: 10
- Views: 15341
Re: Problem with Group 4 compression on B&W TIFF
I'm not sure it is the case but Group4 compression may produce larger size file than the original at the worst case. From https://en.wikipedia.org/wiki/Group_4_compression A worst-case image would be an alternating pattern of single-pixel black and white dots offset by one pixel on even/odd lines. G...
- 2019-05-19T06:30:43-07:00
- Forum: Users
- Topic: Sorry, can not handle images with 32-bit samples
- Replies: 5
- Views: 13326
Re: Sorry, can not handle images with 32-bit samples
It looks ImageMagick failed to read 16 bit float and 32 bit float tiff file when it is encoded in tile format.
- 2019-05-09T08:16:09-07:00
- Forum: Users
- Topic: Create a pdf with layers from several tiffs files
- Replies: 7
- Views: 8915
Re: Create a pdf with layers from several tiffs files
What is the generated version of the pdf in imagemagick 7? My previous answer for version is wrong. It seems it depends on input: $ magick wizard: tiff:- | magick - PDF:- | head -1 %PDF-1.7 $ magick wizard: png:- | magick - PDF:- | head -1 %PDF-1.3 I do not understand how the version is selected. N...