Solved

Zoom and rotate image and save as new file

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

747 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

14 Experts available now in Live!

Get 1:1 Help Now