Solved

ImagesSize in VB3

Posted on 1997-10-23
3
200 Views
Last Modified: 2008-03-06
I have been using Corel to make Images and saving them to JPG to about 15kb and when I copy and paste in VB and Make a exe file I can rack up drive space really quick. A 15km Copy and past makes a 225kb BMP file. So I would like to know, How do you make a program with graphics small.

Notes:
5 15km images at saved as a JPG are 72 km, Now the same file copyed into PaintBrush or saved in memory in Copy are1.13 MB or 1125 kb. That is a big diffrence. Any Help?
0
Comment
Question by:eli1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:eli1
ID: 1438573
Edited text of question
0
 
LVL 3

Accepted Solution

by:
wolfcrag earned 120 total points
ID: 1438574
There's not much help that I know, which is free. VB3 only supports BMP format, which has no compression, unless you use RLE compression, but then VB just uncompresses it anyway before putting it in the executable.

What you could do is use a third party tool like ImageKnife, or any of the tools at www.jpg.com, which can read jpg images. The other thing you would have to do is use a resource compiler to store the jpg images as data inside your executable. You probably have a resource compiler if you have the professional version of VB3.

These are not cheap solutions. A free DLL which you might use can be found at:

http://einstein.ae.eng.ua.edu/nishita/Download.htm

This one reads jpg, gif, pcx and other formats. To repeat myself there are two steps tp solve your problem:

1) Get a tool that reads jpg files.
2) Use a resource compiler to embed jpg files in an executable.

Point 2) also requires knowing how to read resource data from an executable, and get it into a format acceptable to your image reading tool.  
0
 

Author Comment

by:eli1
ID: 1438575
Can you E-mail me eli1@mail.clark.net and give me ladder help?
its ok if you decline.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question