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 


jpg question
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Mon Apr 12, 2004 11:00 pm    Post subject: jpg question Reply with quote

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 Sad.....


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 Smile
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Apr 12, 2004 11:27 pm    Post subject: Reply with quote

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. Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Mon Apr 12, 2004 11:44 pm    Post subject: Reply with quote

hummmm i looked at it not i'am not sure how to get it to work with a jpg picture Sad
_________________
Have a nice day Smile
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Apr 13, 2004 12:32 am    Post subject: Reply with quote

Sorry... I should have been more clear. Smile

You would need to convert your .bmp files to .emf files first. Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Tue Apr 13, 2004 12:40 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Apr 13, 2004 12:45 am    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Tue Apr 13, 2004 12:50 am    Post subject: Reply with quote

What I'd rather have than .JPG is GIF, that way I could use some of my cool animated GIFs I made Smile

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. Wink
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Apr 13, 2004 1:33 am    Post subject: Reply with quote

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. Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Tue Apr 13, 2004 1:02 pm    Post subject: Reply with quote

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... Smile

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
View user's profile Send private message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Tue Apr 13, 2004 1:20 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Apr 13, 2004 5:20 pm    Post subject: Reply with quote

FreezingFire wrote:
Sorry... I should have been more clear. Smile

You would need to convert your .bmp files to .emf files first. Smile



how do i convert it?

thanks

_________________
Have a nice day Smile
Back to top
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Tue Apr 13, 2004 5:24 pm    Post subject: Reply with quote

You could use Prakash' vdsconv.dll... Smile

http://www.vdsworld.com/index.php?page=download&fileid=34

_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Apr 13, 2004 5:32 pm    Post subject: Reply with quote

will that covert it to .emf file?
_________________
Have a nice day Smile
Back to top
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Tue Apr 13, 2004 5:36 pm    Post subject: Reply with quote

No, but it does cover BMP2GIF, BMP2JPG, JPG2BMP and GIF2BMP... Smile
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Apr 13, 2004 5:46 pm    Post subject: Reply with quote

i need to convert it to .emf Smile going to see how much smaller .emf will make it....
_________________
Have a nice day Smile
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
Goto page 1, 2  Next
Page 1 of 2

 
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