Corrupt TIFF outputs.

118 views
Skip to first unread message

Honey Soaked Seagull

unread,
Apr 22, 2024, 8:41:33 AM4/22/24
to PTGui Support
I've tried both 16 bit and 8 bit, normal and no alpha channel but the image always comes out corrupt. There's no thumbnail in explorer, I get told it's either too large or corrupt for windows photo viewer, Vliv (very large image viewer) can't open it either so it's not down to size. Even PTGui Viewer can't open it and just stays on a black loading screen. I am using the trial version, wanting to see if this fits my need before upgrading but without actually being able to view the outputs I can't know. Any idea what's causing it?Screenshot_1.png

PTGui Support

unread,
Apr 22, 2024, 8:56:46 AM4/22/24
to pt...@googlegroups.com
Hi,

Your image is 1.2 Gigapixel, it might actually be the size; have you
tried outputting a smaller file as a test?

The PTGui Viewer was not designed to open such large images. Neither is
Windows Photo Viewer.

PTGui doesn't embed a thumbnail so Windows Explorer will not show one.

If you output with alpha channel, the file will be 60906*21681*4 = 4.9
GB. The regular tiff format is limited to 4GB; PTGui will switch to
BigTiff automatically when the image is larger. I suspect Vliv, despite
the name, does not support BigTiff.

To check if it's corrupt you could try opening the image in PTGui
itself: start a new project and add it as a source image. Loading might
take a while but if the file is not corrupt you should eventually see it.

Also, if you disable the alpha channel (in the TIFF options), the file
will be 3.7 GB and it will be in the regular TIFF format. I assume vliv
will be able to open it. Or retaining the alpha channel and enabling
compression might also keep the file size just under 4GB.

Also see 6.11:
https://ptgui.com/support.html#6_11

Kind regards,

Joost Nieuwenhuijse
www.ptgui.com
> outputs I can't know. Any idea what's causing it?Screenshot_1.png
>
> --
> You received this message because you are subscribed to the Google
> Groups "PTGui Support" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ptgui+un...@googlegroups.com
> <mailto:ptgui+un...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ptgui/6cbbccd2-e17d-4957-a61e-299595a8f7dan%40googlegroups.com <https://groups.google.com/d/msgid/ptgui/6cbbccd2-e17d-4957-a61e-299595a8f7dan%40googlegroups.com?utm_medium=email&utm_source=footer>.

Honey Soaked Seagull

unread,
Apr 25, 2024, 11:50:42 AM4/25/24
to PTGui Support
I've tried to find a big tiff viewer to no avail. I did try opening the images (One with and one without alpha channel) in PTGui as a source image and one did show as a thumbnail with a red X through it but seems to have output something, the other just remained blank on the source image. I did run one of the two through VIPS (can't remember which one though) to break it into a deep zoom tileset and there was a lot of noise on every image but can't be sure which is at fault without running more tests, it may have been the one that didn't display in PTGui after all. As for smaller files, I haven't tried TIFF but I have tried JPEG 100% quality which output a 750mb~ file which has worked. However this imageset only at best 1/5th of what I intend on doing as a full image at which point I'm certain I'll surpass JPEG's 4 gigapixel limit. I definitely did like what output I did see with the JPEG so believe the software definitely can give me results I need but I'm surpassing the filetypes capabilities. 

My usecase is basically extremely high resolution macro scans taken with a canon 5DS on a bed setup. I'm wanting as high quality and lossless output as possible, the 61k pixels was a 20cm length, the thing I'm scanning currently is 20cm x 30cm. So toning down certain settings to try and reduce filesize is something I would rather avoid. Which I assume would leave me with PSB then using a different program to read that and export it as a PNG? 

PTGui Support

unread,
Apr 25, 2024, 12:45:15 PM4/25/24
to pt...@googlegroups.com
Hi,

GIMP supports BigTIFF. I don't know how well it copes with multi
gigapixel images, but it's worth trying.

If you have Photoshop then you could use PSB.

You might try jpeg2000 in PTGui 13, this should also support very large
images.

On failure PTGui does not show thumbnails with red X. It does show a red
X if the image has been excluded by the user (see Create panorama tab,
Advanced). Loading a gigapixel images as a source image in PTGui may
take a very long time, but eventually it should either display it, or
give an error message. PTGui shouldn't produce corrupt files without
giving any kind of error message; if PTGui finished stitching then I
really think your file is fine and the problem is in the viewer
applications.

You might look into ImageMagick or libvips. Both are command line tools
for image manipulation, supporting bigtiff.

Kind regards,

Joost Nieuwenhuijse
www.ptgui.com

> www.ptgui.com <http://www.ptgui.com>
>
> On 22-04-2024 14:34, Honey Soaked Seagull wrote:
> > I've tried both 16 bit and 8 bit, normal and no alpha channel but
> the
> > image always comes out corrupt. There's no thumbnail in explorer,
> I get
> > told it's either too large or corrupt for windows photo viewer, Vliv
> > (very large image viewer) can't open it either so it's not down
> to size.
> > Even PTGui Viewer can't open it and just stays on a black loading
> > screen. I am using the trial version, wanting to see if this fits my
> > need before upgrading but without actually being able to view the
> > outputs I can't know. Any idea what's causing it?Screenshot_1.png
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "PTGui Support" group.
> > To unsubscribe from this group and stop receiving emails from it,
> send
> > an email to ptgui+un...@googlegroups.com
> > <mailto:ptgui+un...@googlegroups.com>.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/ptgui/6cbbccd2-e17d-4957-a61e-299595a8f7dan%40googlegroups.com <https://groups.google.com/d/msgid/ptgui/6cbbccd2-e17d-4957-a61e-299595a8f7dan%40googlegroups.com> <https://groups.google.com/d/msgid/ptgui/6cbbccd2-e17d-4957-a61e-299595a8f7dan%40googlegroups.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/ptgui/6cbbccd2-e17d-4957-a61e-299595a8f7dan%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "PTGui Support" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ptgui+un...@googlegroups.com
> <mailto:ptgui+un...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ptgui/0c2bde39-a766-40b6-9b0d-187917fda6aen%40googlegroups.com <https://groups.google.com/d/msgid/ptgui/0c2bde39-a766-40b6-9b0d-187917fda6aen%40googlegroups.com?utm_medium=email&utm_source=footer>.

Honey Soaked Seagull

unread,
Apr 25, 2024, 1:43:25 PM4/25/24
to PTGui Support
Gimp was a good suggestion I had forgotten about. It opens it and handles it. I fed it one of the outputs which was 7.5gb and after a few minutes on non responding it opened without issue. I've ran that known good tiff through libvips to get the deep image tileset and there's no noise and is more than useable. So with PTGui, Gimp and libvips I can definitely achieve the output and quality I want. I'll work on picking up a pro license soon thank you for the help and assistance. 

Paul Bourke

unread,
Apr 26, 2024, 6:08:48 AM4/26/24
to PTGui Support
vipsdisp is pretty good, we're using it for 1600Gpixels images.
Reply all
Reply to author
Forward
0 new messages