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.

Author
Message
The Zoq2
16
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 27th May 2010 00:25
Hi, i have created a very basic painting program but i don't know how to save the images that it has created. Is it possible to save them as a regular image format like bmp or jpg or is it only possible to save it and open it in DBP again (if it's possible at all). I have only been programing for about a week

Srry about my english im from sweeden
Indicium
18
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 27th May 2010 00:30
You could use get image and save image, although i've never used save image before.

Rawwrr. Sig Fail.
Newcastle is awesome
Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 27th May 2010 00:30 Edited at: 27th May 2010 00:31

I've used this and it works a charm.

My signature is NOT a moderator plaything! Stop changing it!
The Zoq2
16
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 27th May 2010 16:33 Edited at: 27th May 2010 16:40
I did it like this but it doesn't work



Srry about my english im from sweeden
Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 27th May 2010 18:06
Try something like this...



It's not the way I would do it by using the dire 'input' command, I'd auto generate a filename, but the code is sound.

My signature is NOT a moderator plaything! Stop changing it!
The Zoq2
16
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 27th May 2010 23:30
Thanks it works

Srry about my english im from sweeden
Sasuke
20
Years of Service
User Offline
Joined: 2nd Dec 2005
Location: Milton Keynes UK
Posted: 28th May 2010 00:29
Quote: "Thanks it works"


Really? Because if you don't add a 1 or 3 to the texture flag on the end of that Get Image then you'll end up with a lovely over stretched image.

A dream is a fantasy, if you achieve that fantasy it was never a dream to begin with.

Login to post a reply

Server time is: 2026-07-26 01:26:20
Your offset time is: 2026-07-26 01:26:20