Solved

ImagesSize in VB3

Posted on 1997-10-23
3
196 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

862 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now