Page 1 of 1

Pyramid Tiff conversion issue

Posted: 2018-06-15T02:56:56-07:00
by geobar
Good morning guys,
I am new to working with ImageMagick and happy to report the first bug i noticed!
I chose the ImageMagick library because i'm working in Visual Studio 2017 and OpenCV and i would like to save one OpenCV's Mat image in pyramid TIFF, because it is going to be very big in size (>1GB). Currenlty, i'm just using Magick++ API, to save in TIFF and then convert it with "convert" Windows command. The issue is that, when i use the command "

Code: Select all

convert -debug all in.tiff -define tiff:tile-geometry=256x256 ptif:out.tiff
" to encode in pyramid TIFF and then use OpenSlide library to open it, when i try to get it's levels, i only get one level (the first, ((2783, 3527),)). On the other hand, when i run exactly the same command in linux (Ubuntu 16.04) for the same in.tiff image, and open the outputed image with OpenSlide i get all the levels:
((2783, 3527),
(1391, 1763),
(695, 881),
(347, 440),
(173, 220),
(86, 110),
(43, 55))

I want to underline that i am using exactly the same ImageMagick version 7.0.7-39_64 in both Windows and linux.
Can you please help me?

Re: Pyramid Tiff conversion issue

Posted: 2018-06-16T10:09:07-07:00
by magick
Your command works for us, we get all the expected levels. We're using ImageMagick 7.0.8-0.

Re: Pyramid Tiff conversion issue

Posted: 2018-06-22T05:10:43-07:00
by geobar
Have you tried it in Windows or Linux?