| View previous topic :: View next topic |
| Author |
Message |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Mon Apr 12, 2004 11:00 pm Post subject: jpg question |
|
|
hello all
is there any way to have vds uses a jpg instead of bmp? without using any dll's? cuase when i convert jpg to bmp file size is huge .....
the commad i'am talking about is
| Code: |
DIALOG ADD,BITMAP,BITMAP1,0,0,300,432,cool.dsr|0
|
i want to uses jpg here instead of bmp
thanks _________________ Have a nice day  |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Apr 12, 2004 11:27 pm Post subject: |
|
|
Check out this example by CodeScript:
http://forum.vdsworld.com/viewtopic.php?t=1944
It will allow you to display enhanced metafiles on a dialog which are
much smaller than bitmaps.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Mon Apr 12, 2004 11:44 pm Post subject: |
|
|
hummmm i looked at it not i'am not sure how to get it to work with a jpg picture  _________________ Have a nice day  |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Tue Apr 13, 2004 12:32 am Post subject: |
|
|
Sorry... I should have been more clear.
You would need to convert your .bmp files to .emf files first.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Tue Apr 13, 2004 12:40 am Post subject: |
|
|
You can resample your .BMP to 72 or 96 pixels, and(also) you could make them 8 bit paletted to reduce the file weight considerably, kinda like making light gifs for HTML pages.
Resampling allways helps and jpeg's is just another way to resample till filesize is lighter, but can exceed .BMP's because they use technology similar to zips.
Last edited by vtol on Tue Apr 13, 2004 12:46 am; edited 1 time in total |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Tue Apr 13, 2004 12:45 am Post subject: |
|
|
hummm
ok i will have to play with it .....that to bad vds can't do jpg without dll jpg are nice and small...
thanks guys for the help _________________ Have a nice day  |
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Tue Apr 13, 2004 12:50 am Post subject: |
|
|
What I'd rather have than .JPG is GIF, that way I could use some of my cool animated GIFs I made
The Animation format VDS use's is limited on software to create it, Corel 11 and most others do animated GIFs.
The VDS ANIicon is very hard to create with the only program I could find, its Iconcool program or something like that. Maybe theres an easier program out there I don't know about.  |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Tue Apr 13, 2004 1:33 am Post subject: |
|
|
I use a utility by pcmag.com called "CursorDance" which is real easy.
I got it back when they were giving it away for free.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Tue Apr 13, 2004 1:02 pm Post subject: |
|
|
You can use the vdsbrw50 dll to display a JPG file, but I guess it's better to just convert the JPG files into BMP (in a temp folder) and to just display those...
| Code: | external vdsbrw50
DIALOG CREATE,Nieuw Dialoog,-1,0,240,160
DIALOG ADD,BROWSER,BROWSER1,5,16,150,150,@filedlg(*.jpg,Please select a JPG file...)
DIALOG SHOW
wait event |
_________________ [ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial! |
|
| Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Tue Apr 13, 2004 1:20 pm Post subject: |
|
|
hi vtol,
you wrote
| Quote: | | The VDS ANIicon is very hard to create with the only program I could find |
i use tbpaint...not sure if it meets your needs http://donkey.visualassembler.com/
serge _________________
|
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Tue Apr 13, 2004 5:20 pm Post subject: |
|
|
| FreezingFire wrote: | Sorry... I should have been more clear.
You would need to convert your .bmp files to .emf files first.  |
how do i convert it?
thanks _________________ Have a nice day  |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Tue Apr 13, 2004 5:32 pm Post subject: |
|
|
will that covert it to .emf file? _________________ Have a nice day  |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Tue Apr 13, 2004 5:46 pm Post subject: |
|
|
i need to convert it to .emf going to see how much smaller .emf will make it.... _________________ Have a nice day  |
|
| Back to top |
|
 |
|