Search found 200 matches

by 246246
2020-02-14T01:55:33-07:00
Forum: Users
Topic: Combining multipage Tiffs with "2 dimension"
Replies: 8
Views: 2540

Re: Combining multipage Tiffs with "2 dimension"

I am afraid that is not enough, because your Image1.tif, Image2.tif and output_expected.tif has tiff tag 50838 and 50839, that is somehow used by ImageJ (as well as 270 (= ImageDescription)), but ignored by libtiff (and also with ImageMagick, I guess). output.tif does not have those tags. https://im...
by 246246
2020-02-14T00:47:15-07:00
Forum: Users
Topic: Combining multipage Tiffs with "2 dimension"
Replies: 8
Views: 2540

Re: Combining multipage Tiffs with "2 dimension"

Your images, channels, and frames info is written in ImageDescription tag. https://www.awaresystems.be/imaging/tiff/tifftags/imagedescription.html It is merely an ASCII description. It does not affect image. $ for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19; do magick compare -quiet -metr...
by 246246
2020-02-03T17:24:12-07:00
Forum: Users
Topic: Alpha off and transparent background
Replies: 11
Views: 3351

Re: Alpha off and transparent background

I expect I see the histogram, but still I can say your file does not have alpha channel bacause Type is TrueColor. (If it has alpha, Imagemagick shows that type is TrueColorAlpha or PalleteAlpha. Or check the channel depth or channel statistics, it does not contain Alpha entry.) Also It is created b...
by 246246
2020-02-03T01:33:36-07:00
Forum: Users
Topic: Alpha off and transparent background
Replies: 11
Views: 3351

Re: Alpha off and transparent background

Can you send the

Code: Select all

magick identify -verbose yourfile.tif
output instead?

And how do you create your file? Photoshop?
If you see yout file with other software, is the background transparent?
by 246246
2020-02-02T16:56:47-07:00
Forum: Users
Topic: Alpha off and transparent background
Replies: 11
Views: 3351

Re: Alpha off and transparent background

As far as I know, only gif and png support transparency without using alpha channel. So If you want to reduce channels you have to convert it to PNG or GIF.
by 246246
2020-01-31T01:06:13-07:00
Forum: Users
Topic: Alpha off and transparent background
Replies: 11
Views: 3351

Re: Alpha off and transparent background

I think you would like to create the type of png described at 8.5.2. Palette-Based with Transparency in http://www.libpng.org/pub/png/book/chapter08.html If so, try magick 123.tif PNG8:123.png You can check it like this and the result converted with PNG8 prefix is smaller and have tRNS data chunk. $...
by 246246
2020-01-16T18:12:08-07:00
Forum: Users
Topic: I can't create a BMP4 even using bmp:format=bmp4
Replies: 4
Views: 2519

Re: I can't create a BMP4 even using bmp:format=bmp4

It might have been true when that document was written, but as far as I see, current default is bmp5, and there is no way to write bmp4. $ magick logo: logo.bmp $ file logo.bmp logo.bmp: PC bitmap, Windows 98/2000 and newer format, 640 x 480 x 8 If the file were bmp4, file command return 'Windows 95...
by 246246
2020-01-16T00:39:56-07:00
Forum: Users
Topic: Sorry, can not handle images with 32-bit samples
Replies: 15
Views: 10588

Re: Sorry, can not handle images with 32-bit samples

With your file, I got the same kind of problem when using LibTIff.NET (in SetDirectorey() method.) So I I checked, last page of your tiff has the following tag: SMinSampleValue (340) FLOAT (11) 3<0.00610352 0.00720215 0.00146484> SMaxSampleValue (341) FLOAT (11) 3<15.125 15.125 15.3125> According to...
by 246246
2019-12-27T01:11:08-07:00
Forum: Developers
Topic: Issue in svg to png
Replies: 13
Views: 7544

Re: Issue in svg to png

I can download the svg from the original post, and just convert it to png with recent ImageMagick that uses default setting: <delegate decode="svg" command=""rsvg-convert" -o "%o" "%i""/> from command line magick. No problem happened. Version: ImageMagick 7.0.9-11 Q16 x...
by 246246
2019-12-23T21:18:31-07:00
Forum: Users
Topic: How can I merge this 8 small images into 1 big image?
Replies: 4
Views: 2996

Re: How can I merge this 8 small images into 1 big image?

I think what you need is -append and +append , generally. magick \( out_00.jpg out_01.jpg out_02.jpg out_03.jpg +append \) \( out_04.jpg out_05.jpg out_06.jpg out_07.jpg +append \) -append out.jpg PS When the intermediate image is png, snibgo's answer works, however if the intermediate image is jpg,...
by 246246
2019-09-05T19:25:46-07:00
Forum: Users
Topic: convert grayscale tif to grayscale png not working
Replies: 5
Views: 6330

Re: convert grayscale tif to grayscale png not working

Or your 32-bit float tiff is tiled format, that is patched very recently:
https://imagemagick.org/discourse-serve ... ff#p166078
by 246246
2019-08-23T04:17:30-07:00
Forum: Bugs
Topic: Tiff image without TIFFTAG_PHOTOMETRIC won't load
Replies: 1
Views: 4275

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
by 246246
2019-08-05T06:59:55-07:00
Forum: Users
Topic: Preserve EXIF while conversation from TIF to TIF/TIF to JPG
Replies: 17
Views: 14939

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...
by 246246
2019-07-31T00:52:45-07:00
Forum: Users
Topic: automatically append jpg files
Replies: 2
Views: 4311

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
by 246246
2019-07-24T08:57:22-07:00
Forum: Users
Topic: PDF Bookmarks to individual file names
Replies: 3
Views: 4419

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...