Solved

JPEG compression control

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

708 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

13 Experts available now in Live!

Get 1:1 Help Now