Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Issue loading TIFF images with plugin/TIF
Re: Issue loading TIFF images with plugin/TIF [message #59615 is a reply to message #59614] Wed, 15 February 2023 08:26 Go to previous messageGo to previous message
Tom1
Messages: 1305
Registered: March 2007
Ultimate Contributor
Hi,

Updated: I do not need "tiff_orientation" metadata anymore as image is now returned in its U++ orientation and the geomatrix is readily adjusted accordingly. Therefore, this can be dropped:

attr.GetAdd("tiff_orientation") = Value((int)page.orientation);


TIFFGetFieldDefaulted sets page.orientation correctly to its default value when TIFFTAG_ORIENTATION is missing from TIFF file. Therefore, this can be dropped:
page.orientation = 1; // Default if no tag


BR,

Tom

[Updated on: Wed, 15 February 2023 15:59]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: BufferPainter Text Clips all text when partial off screen
Next Topic: Image::GetDPI() doesn't return Size(0, 0)
Goto Forum:
  


Current Time: Mon Aug 25 19:01:42 CEST 2025

Total time taken to generate the page: 0.08115 seconds