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.

DarkBASIC Discussion / Tip: Converting images into other format(s) inside DB

Author
Message
Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 12th Mar 2006 09:38 Edited at: 12th Mar 2006 09:49
This could be used for a converting app of somesort, or for some other use, anyways i guess many of you know this, so i`ll put this for newbies, here it goes :

Load Image "filename.extention",1

Save Image "filename.extention",1

You`ll notice that if you put something like this :

Load Image "filename.bmp",1

Save Image "filename.jpg",1

And when you take a look at the file, it will be converted into .jpg format, and not just renamed.


Offcourse you can use LOAD BITMAP instead, anyway works.

Currently working on (trying) making a new 3d engine for/within dark basic classic out of basic 2d commands, with vertex edit supported.
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 12th Mar 2006 14:02
Could be handy for batches of conversions.

Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 12th Mar 2006 15:03
Yeap, or for an simple image editor/convertor, you just add blur and other effects that db has and well that`s it, but more usefull for batch conversion, i agree.

Currently working on (trying) making a new 3d engine for/within dark basic classic out of basic 2d commands, with vertex edit supported.

Login to post a reply

Server time is: 2025-05-23 10:32:03
Your offset time is: 2025-05-23 10:32:03