Solved

Zoom and rotate image and save as new file

Posted on 2004-08-24
3
1,657 Views
Last Modified: 2008-02-26
Hello,

I have to make lists with information about our students. On this lists there has to be a picture. The big problem is that the pictures I get (JPG or BMP), all are in a different size, rotation, and so on.

Is it possible that I open the pictute in image and rotate if nescessary (some pictures are in portrait, other in landscape). So is the total picture visible. Is it then possible to open another image with as example size 140 pixels to 192 pixels (portrait). Can I make scroll the original picture in this little frame, zoom in or out if nescessary and when the peace of picture in the little frame looks good I push a button that saves the visible peace of the picture in the little frame as a new JPG with the same size as the frame (in this example 140 X 192). If it is possible then I get a map with all pictures of our students of the same (140 X 192) where there head is of the same size and I then can use to print on my lists.

I hope you understand what I mean. Thanks in advance.

Greetings,
Ka1a

PS sorry for my poor English.
0
Comment
Question by:ka1a
3 Comments
 
LVL 27

Expert Comment

by:kretzschmar
ID: 11878782
0
 
LVL 12

Accepted Solution

by:
esoftbg earned 200 total points
ID: 11879238
example about zoom-in, zoom-out, best-fit, load picture:
page:        http://www.geocities.com/esoftbg/
  link:        Q_21046446.zip
//................
image rotation:
use component  TJvImageRotate
from:
http://prdownloads.sourceforge.net/jvcl/JCL%2BJVCL210FullInstall.zip?download
or
http://sourceforge.net/projects/jvcl/
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi Form ownership 4 109
How to debug For loops? 3 56
update joined tables 2 55
enhance the following code 3 37
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

792 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