Solved

Web-based JPG contrast, brightness and cropping adjustment

Posted on 2004-09-28
7
413 Views
Last Modified: 2011-08-18
Hi,

I have built a JSP program with the principle use of collecting large numbers of JPGimages and displaying them for the users in my department. They are based on radiological images in which different contrasts and brightnesses are used to view different aspects of anatomy (lung vs brain vs bone, etc.).

Anyway, when the we submit the images to the JSP program we choose preset contrast/brightness options based on the anatomy origin of the image. However, the physician may want to adjust the contrast and brightness, after the images have been created, to better display the aspect of the image desired.

How can I offer them this option within the JPS page in which they can make those changes and resave the image on the server with the new changes? Can I do it with an aplet/servlet or something like that? Any ideas?

Thanks,
ak
0
Comment
Question by:akamauu
  • 3
7 Comments
 
LVL 92

Expert Comment

by:objects
ID: 12176385
Again I'd suggest usiing the ImageIO class.
0
 
LVL 92

Accepted Solution

by:
objects earned 250 total points
ID: 12176394
0
 

Author Comment

by:akamauu
ID: 12176395
I'm not very familiar with the ImageIO class. Can you help me use it?
0
 
LVL 92

Expert Comment

by:objects
ID: 12176402
0
 
LVL 3

Assisted Solution

by:haobaba1
haobaba1 earned 250 total points
ID: 12189896
I have never made system calls from within the java container but I have used ImageMagick in the past to dynamically resize images and save them and its pretty powerful editing tool that is fairly simple to use from the command line. And its free.

http://www.imagemagick.org/
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

Fine Tune your automatic Updates for Ubuntu / Debian
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

929 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

15 Experts available now in Live!

Get 1:1 Help Now