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 » CreateImageObject(...) disappeared
CreateImageObject(...) disappeared [message #23537] Thu, 29 October 2009 13:07 Go to next message
forlano is currently offline  forlano
Messages: 1182
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

in my old code compiled with version 2008.1 I used the function
CreateImageObject()

It appeared in a line like this:
QtfRichObject pict2( CreateImageObject(StreamRaster::LoadFileAny(fhost), 400, 300) ) ;

Today I compiled it with the version 1517 and MSC9 and the function is disappeared.
Is there some other substitute of such method?

Thank you,
Luigi
Re: CreateImageObject(...) disappeared [message #23582 is a reply to message #23537] Mon, 02 November 2009 11:48 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
I believe CreatePNGObject or CreateRawImageObject would work just the same.

QtfRichObject pict2( CreatePNGObject(StreamRaster::LoadFileAny(fhost), 400, 300) ) ;

QtfRichObject pict2( CreateRawImageObject(LoadFile(fhost), 400, 300) ) ;
Previous Topic: Support for 2bpp tiff images
Next Topic: Draw without CtrlLib [SOLVED] - see ConsoleDraw example
Goto Forum:
  


Current Time: Fri Mar 29 07:47:07 CET 2024

Total time taken to generate the page: 0.01073 seconds