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
Solved

Web-based JPG contrast, brightness and cropping adjustment

Posted on 2004-09-28
7
417 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying 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

Starting your own business is always a daunting process, and for most people it is brand new experience. Avoid the common pitfalls by following these tips to start on the road to success.
Many businesses neglect disaster recovery and treat it as an after-thought. I can tell you first hand that data will be lost, hard drives die, servers will be hacked, and careless (or malicious) employees can ruin your data.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

861 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