Solved

Zoom and rotate image and save as new file

Posted on 2004-08-24
3
1,638 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

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

Suggested Solutions

Title # Comments Views Activity
Windows Drag & Drop Location 2 94
Comparing dates in Delphi. Greater than/ Less than 3 117
Delphi XE10 Round Image 2 77
Delphi and Access based Enumeration 9 47
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

910 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

25 Experts available now in Live!

Get 1:1 Help Now