Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / loading and saving images from blocks streches image out

Author
Message
3d point in space
15
Years of Service
User Offline
Joined: 30th Jun 2009
Location: Idaho
Posted: 11th Aug 2011 02:56
I know I have not been active lately but I have been looking at Iphone, and Ipod programming lately. Any way when i use mem blocks and load and save my image files they strech out horizonaly, and I still dont know why.

Go through yourself at a wall.
Hawkblood
14
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 14th Aug 2011 00:46
That doesn't make sense to me either.... I have never run into that problem, but I imagine if you changed the image dimensions accidentally, it could cause that. Remember that the first 12 bytes of the memblock are dimension related. So all your image colors are after that.

The fastest code is the code never written.

Login to post a reply

Server time is: 2024-11-19 08:26:21
Your offset time is: 2024-11-19 08:26:21