Solved

Zoom and rotate image and save as new file

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

777 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