Jump to content

UltraEngine::Pixmap->Save may save distorted images


Go to solution Solved by Josh,

Recommended Posts

Posted

I tested the simple code in the "Create an Image Viewer" in the Tutorials.
All images I tested works well when loaded. However some of the become distorted and grayscale when saved, but only some of them.

I have enclosed such an image. The original and the one saved by the Image Viewer example

 

trees.jpg

trees-save.png

  • Confused 1

Roland Strålberg
Website: https://rstralberg.com

  • 2 weeks later...
Posted

I was able to re-save the image above with no problem:

test.thumb.png.af4461656fe945296330774a0369e92b.png

Either the bug got fixed or maybe the forum system is automatically converting your uploaded image? Maybe attach the image in a zip file to ensure it does not get modified?

Let's build cool stuff and have fun. :)

Posted

When I compile the plugin from my current source, your original image loads and looks wrong, like your second image.

This could be an error in the loading code, or an error in the translation from a pixmap to a Windows bitmap...

Let's build cool stuff and have fun. :)

  • Josh locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...