?
Solved

ImagesSize in VB3

Posted on 1997-10-23
3
Medium Priority
?
202 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 360 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses

770 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