Jump to content

UltraEngine::Pixmap->Save may save distorted images


Roland
 Share

Go to solution Solved by Josh,

Recommended Posts

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

Link to comment
Share on other sites

  • 2 weeks later...

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?

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

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...

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

  • Josh locked this topic
Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...