473,386 Members | 1,883 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Resizing jpg?

Has anyone here had success with resizing .jpg graphics in VB5? I would
like to convert .jpg files so that they will all display the same height.
TIA
Don
Jul 17 '05 #1
4 4147
xyz
On Sun, 28 Sep 2003 03:42:36 +1000, "D & J Gilchrist"
<do********@optusnet.com.au> wrote:
Has anyone here had success with resizing .jpg graphics in VB5? I would
like to convert .jpg files so that they will all display the same height.
TIA
Don

=========

You may want to try setting the AutoSize attribute of the picture to
True.
Jul 17 '05 #2
Thanks, xyz, but I need to re-write the picture back to disk in the new
size.
Don

"xyz" <xy*@mailinator.com> wrote in message
news:ic********************************@4ax.com...
On Sun, 28 Sep 2003 03:42:36 +1000, "D & J Gilchrist"
<do********@optusnet.com.au> wrote:
Has anyone here had success with resizing .jpg graphics in VB5? I would
like to convert .jpg files so that they will all display the same height.
TIA
Don

=========

You may want to try setting the AutoSize attribute of the picture to
True.

Jul 17 '05 #3
xyz
To store the picture back you need to hava a library subroutine that
will perform the JPG transformation. You can start at

http://www.ijg.org/

They have some links that will eventually take you to the Windows
development section that has a lot of shareware for resizing JPEGs

http://www.faqs.org/faqs/jpeg-faq/part2/section-6.html

good luck.

xyz
===========

On Sun, 28 Sep 2003 08:32:50 +1000, "D & J Gilchrist"
<do********@optusnet.com.au> wrote:
Thanks, xyz, but I need to re-write the picture back to disk in the new
size.
Don

"xyz" <xy*@mailinator.com> wrote in message
news:ic********************************@4ax.com.. .
On Sun, 28 Sep 2003 03:42:36 +1000, "D & J Gilchrist"
<do********@optusnet.com.au> wrote:
>Has anyone here had success with resizing .jpg graphics in VB5? I would
>like to convert .jpg files so that they will all display the same height.
>TIA
>Don
>

=========

You may want to try setting the AutoSize attribute of the picture to
True.


Jul 17 '05 #4
You load a JPG

You view a Bitmap - you resize a Bitmap

You save ... well something different - if you wish

To save a JPG

http://www.jerryfrench.co.uk/pictojpg.htm

On Sun, 28 Sep 2003 08:32:50 +1000, "D & J Gilchrist"
<do********@optusnet.com.au> wrote:
Thanks, xyz, but I need to re-write the picture back to disk in the new
size.
Don

"xyz" <xy*@mailinator.com> wrote in message
news:ic********************************@4ax.com.. .
On Sun, 28 Sep 2003 03:42:36 +1000, "D & J Gilchrist"
<do********@optusnet.com.au> wrote:
>Has anyone here had success with resizing .jpg graphics in VB5? I would
>like to convert .jpg files so that they will all display the same height.
>TIA
>Don
>

=========

You may want to try setting the AutoSize attribute of the picture to
True.



Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: riki | last post by:
Hi, i have a big problem...i'm using one jscript for resizing of all of my pics in popUp...in main html i'm having many little pics and clicking on them they open in popUp and resize to larger...
0
by: TJ Talluto | last post by:
<facts> I have a "month calendar" that always displays exactly 42 days... and alongside is a vertical box that displays the detail (form fields) of any particular select event that appears on the...
5
by: Jim | last post by:
I've heard that resizing images through PHP (either GD2 or ImageMagick) is a processor intensive exercise. I'm setting up a site where users will be uploading up to 10 images along with the details...
1
by: Terry | last post by:
I've seen several posts from people who have seen this flashing in TreeView's when resizing a form. I've noticed it in my app, but only in the child windows. For example, my main form has a...
12
by: Søren Reinke | last post by:
Hi there I have a little problem. How do i make sure that a graph is not redrawn while the form with the graph is being resized ? I have tried to add a mouse up/down event handler on the...
11
by: Sharon | last post by:
I'm writing a new control derived from UserControl. I need to get an event when the control is done resizing. I tried the Resize, SizeChanged, Move and the Layout events and I also tried to...
6
by: tomasio | last post by:
Dear NG, years have passed and I am still more designer than programmer. I build a new version of my website which has a few nasty bugs, especially on my startpage: Resizing text brakes the...
6
by: JDeats | last post by:
I have a WinForms based application written for the .NET Framework 2.0 and in this application I need to be able to be able to take some action in code when the user finishes resizing the form. ...
9
by: dli07 | last post by:
Hello, I'm trying to convert a piece of code that creates a dynamic vertical resizing bar in a table from internet explorer to firefox. It's based on a post from...
10
by: mishrarajesh44 | last post by:
hii all, I am facing a problem currently.. i have a script for image uploading and resizing.. the image uploading takes place properly for every size images.. but, the resizing works for...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.