Solved

JPEG compression control

Posted on 1999-01-16
4
244 Views
Last Modified: 2013-12-25
Can anyone tell me if there is a free control that can resize a JPEG image and then save as a new JPEG file, of course with different file size.  This would be equivalent to Pshop doing Image|resize image... and then save...
0
Comment
Question by:ktcao
  • 2
  • 2
4 Comments
 
LVL 3

Expert Comment

by:Sendoh
ID: 1489714
Hi !

I think this what you want.

http://www.winsite.com/info/pc/win95/programr/vbasic/gvocx.zip/index.html

Hope it'll help you.
0
 

Author Comment

by:ktcao
ID: 1489715
I looked and tried all the menu options with the code I downloaded from winsite.  I couldn't find any options that will allow me to resize an image.  Maybe I missed it somewhere.  Please show me if you see otherwise.
0
 
LVL 3

Accepted Solution

by:
Sendoh earned 100 total points
ID: 1489716
Ok !
There is this "Zoom" feature. After zooming effect taken place, just save the jpg will do.
The code they 're running is :

'detail of resizing the jpg please refer to menuitem under "Zoom".
Gvbox1.JPGSaveName A$, X, Y, Width, Height

then tried reload the jpg and you'll realise that it already resize.
0
 

Author Comment

by:ktcao
ID: 1489717
I will study this further.  Apparently, it does have the ability to resize the image.  Thanks a bunch.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
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…

815 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

8 Experts available now in Live!

Get 1:1 Help Now