forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Using Jpg image in VDS5

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
schihuawa
Newbie


Joined: 07 May 2004
Posts: 11

PostPosted: Wed Apr 26, 2006 10:13 am    Post subject: Using Jpg image in VDS5 Reply with quote

Hi,

I want to use jpg file in a scrip, but I can only use .BMP

any idea ?

tks
Back to top
View user's profile Send private message
Hooligan
VDS Developer
VDS Developer


Joined: 28 Oct 2003
Posts: 480
Location: California

PostPosted: Wed Apr 26, 2006 12:07 pm    Post subject: Reply with quote

Hi Schihuawa,

How did you want to use it? Open, use as background, bitbtn element, etc.?

Hooligan

_________________
Hooligan

Why be normal?
Back to top
View user's profile Send private message
schihuawa
Newbie


Joined: 07 May 2004
Posts: 11

PostPosted: Wed Apr 26, 2006 1:25 pm    Post subject: Reply with quote

hi,

I want to resize Jpg image to open it in defined small area, and by bdcliking on it, openning the image in full screen


tks
Back to top
View user's profile Send private message
uvedese
Contributor
Contributor


Joined: 21 Jan 2006
Posts: 169
Location: Spain

PostPosted: Wed Apr 26, 2006 3:11 pm    Post subject: Reply with quote

Hi Schihuawa,

You can use a free dll extension for VDS.

A way to do this is using vdscon.dll. You can download it from here:

http://www.vdsworld.com/download.php?id=34&sid=d297b0f41c7a8b39b73f670ab7fd2a54

or

http://vds.uvedese.es/index.php?option=com_content&task=view&id=64&Itemid=35

With this extension you can turn an image jpg to bmp. Later you can use an BITMAP element using STRETCH style to adapt the size of the image...

Also you can watch vdsobj.dll to visualize images JPEG:

http://www.vdsworld.com/download.php?id=249&sid=d297b0f41c7a8b39b73f670ab7fd2a54

Good luck with Code Very Happy

_____________

uVeDeSe
visit: http://www.uvedese.es


Last edited by uvedese on Wed Apr 02, 2008 8:57 pm; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
schihuawa
Newbie


Joined: 07 May 2004
Posts: 11

PostPosted: Wed Apr 26, 2006 8:34 pm    Post subject: Reply with quote

Tks uvedese,

i'll try that, but... just a question VDSCON.DLL can convert the jpg to BMP on the fly ?? or by creating a bitmap on HDD ?

it works with other file type ? like .tif / .wad / .gif etc...
Back to top
View user's profile Send private message
uvedese
Contributor
Contributor


Joined: 21 Jan 2006
Posts: 169
Location: Spain

PostPosted: Wed Apr 26, 2006 9:33 pm    Post subject: Reply with quote

Vdsconv.dll creates a BMP file in the HDD, but once presented/displayed BITMAP element you can erase the file using next command:

Code:
file delete,"image_temp.bmp"


____

Bye. Very Happy
Back to top
View user's profile Send private message Visit poster's website
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1565

PostPosted: Thu Apr 27, 2006 4:05 am    Post subject: Reply with quote

I'd recommend using vdsobj, it will let you display the image directly on your dialog and there is no conversion to bitmap. It supports bmp, ico, wmf, emf, jpg, and gif
Back to top
View user's profile Send private message
schihuawa
Newbie


Joined: 07 May 2004
Posts: 11

PostPosted: Thu Apr 27, 2006 8:35 am    Post subject: Reply with quote

PGWARE wrote:
I'd recommend using vdsobj, it will let you display the image directly on your dialog and there is no conversion to bitmap. It supports bmp, ico, wmf, emf, jpg, and gif


Hi

I prefere this solution

Is this DLL free ???

tks
Back to top
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1565

PostPosted: Thu Apr 27, 2006 2:11 pm    Post subject: Reply with quote

All PGWARE dll's are now completely freeware with source code.
Back to top
View user's profile Send private message
schihuawa
Newbie


Joined: 07 May 2004
Posts: 11

PostPosted: Thu Apr 27, 2006 2:21 pm    Post subject: Reply with quote

PGWARE wrote:
All PGWARE dll's are now completely freeware with source code.


Great !!!

i'll try this W.E.

Tks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group