Solved

JPEG compression control

Posted on 1999-01-16
4
243 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

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…

911 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

22 Experts available now in Live!

Get 1:1 Help Now