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 #59620 is a reply to message #59617] Fri, 17 February 2023 11:04 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
Tom1 wrote on Thu, 16 February 2023 17:29
Hi Mirek,

I noticed you have pushed fixes. There is one small issue.

Please change this:
TIFFGetField(tiff, TIFFTAG_ORIENTATION, &page.orientation);

to this:
TIFFGetFieldDefaulted(tiff, TIFFTAG_ORIENTATION, &page.orientation);

Otherwise the default case will not be correct and results in an upside down image.

Thanks and best regards,

Tom


All fine now?

(Next time, we should follow a good practice of PR.... Would save us a lot of trouble...)
 
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: Fri May 10 20:28:25 CEST 2024

Total time taken to generate the page: 0.02202 seconds