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 #59523 is a reply to message #59517] Mon, 16 January 2023 17:42 Go to previous messageGo to previous message
Tom1
Messages: 1302
Registered: March 2007
Ultimate Contributor
Hi Mirek,

Please find attached a small extension to plugin/tif/tifupp.cpp. This one supports geotiepoints without scale by mapping a transformation using Xform2D::Map().

Additionally, handling the not so common fill ordering of those sample geotiffs gains help by adding field 'orientation' to page info. (This way I can externally flip the image after reading it in with plugin/tif.) I'm not sure if it should be internally flipped in plugin/tif and just returned in a sensible orientation (i.e. orientation = 1) as any other image. What's your opinion on this?

The horizontal flip crash in tif_getimage remains unsolved.

Best regards,

Tom

EDIT: Removed tifupp.cpp in favor of new version below...

[Updated on: Wed, 18 January 2023 10:42]

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: Tue Apr 29 23:37:34 CEST 2025

Total time taken to generate the page: 0.00761 seconds