Pyramid Tiff conversion issue

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
geobar
Posts: 2
Joined: 2018-06-15T02:44:05-07:00
Authentication code: 1152

Pyramid Tiff conversion issue

Post 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?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Pyramid Tiff conversion issue

Post by magick »

Your command works for us, we get all the expected levels. We're using ImageMagick 7.0.8-0.
geobar
Posts: 2
Joined: 2018-06-15T02:44:05-07:00
Authentication code: 1152

Re: Pyramid Tiff conversion issue

Post by geobar »

Have you tried it in Windows or Linux?
Post Reply