I know how to resize images but does anyone have a technique that scales/samples them more "gracefully". Resizing produces very pixelated and poor results.
I can resample images using GraphicsMagick but I don't know how to pass the BLOB to Irrlicht without saving to the file system.
Any help or examples much appreciated!
Scaling Images (nicely)
Assuming that GraphicsMagick isn't open source and you can't just implement its algorithm into Irrlicht, I don't think such functionality currently exists. Perhaps you should see if there is some method for extracting raw image data from GraphicsMagick and passing it into an Irrlicht image. Search these forums for code on generating a texture from raw image data.
-
FuzzYspo0N
- Posts: 914
- Joined: Fri Aug 03, 2007 12:43 pm
- Location: South Africa
- Contact: