Solved

Zoom and rotate image and save as new file

Posted on 2004-08-24
3
1,663 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

726 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