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 » GIF reader BUG? Or BUG in inserting GIF into QTF?
BugQuestion.gif  GIF reader BUG? Or BUG in inserting GIF into QTF? [message #5675] Mon, 09 October 2006 11:40 Go to previous message
temer is currently offline  temer
Messages: 5
Registered: October 2006
Location: Kyiv, Ukraine
Promising Member

Please, try the following code.

	String qtf;

	QtfRichObject PNGpict(RichObject("image",StoreImageAsString(StreamRaster::LoadFileAny("c:/msg_about.png"))));
	QtfRichObject GIFpict(RichObject("image",StoreImageAsString(StreamRaster::LoadFileAny("c:/msg_about.gif"))));

	qtf << "[A6 The PNG image looks well: " << PNGpict << "]&";
	qtf << "[A6 The GIF image looks tiny: " << GIFpict << "]&";

	PromptOK(qtf);


You will see that PNG image is OK, but the GIF image is only 2 pixels in height. What's the reason of this?

I used the follwing GIF: http://www.arilect.com/upp/forum/theme/default/images/msg_ab out.gif

The PNG file was created with MS Paint.
 
Read Message BugQuestion.gif
Read Message
Previous Topic: GetFontInfo without a Draw object?
Next Topic: Graphics Context and Draw Object
Goto Forum:
  


Current Time: Mon Apr 29 10:05:39 CEST 2024

Total time taken to generate the page: 0.01953 seconds