Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Converting images from ".eps" format to ".gif" (or ".jpg")  RSS feed

 
Mayer Salzer
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In short: Does anyone know of any (preferably free) java classes that allow you to read ".eps" images and load them into a "java.awt.Image" object?
If you want to know why I need it. . .
I'm working on a (servlet based) application that will serve as sort of an "online photo shop". Basically it lets users upload images and then do various editing on it. For example resizing, changing certain colors, making colors transparent, imposing one image on top of another (useful if you'd like to see what you're logo would look like on a T-shirt, for example), adding text to an image etc etc.
I've obviously been using the "awt" packages as well as the "com.sun.image.codec.jpeg" package. My problem is that many images come in the popular ".eps" format (can be created and viewed with one of Adobe's products I beleive). Right now I don't have or know of any java classes (free ones, at least) that can read this format. This basically means that I can't work with ".eps" images.
If you can help me out, I'd be most appreciative . . .
Thanks . . .
 
Mayer Salzer
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Quick follow up to my first post . . .
The title of this topic "Converting images from .eps to .gif or .jpg", is a bit misleading. The reason I used that title is that once edited, my images get saved in .jpg format. Hoewever, all I really need is a way to read or load a ".eps" image into a "java.awt.Image" object, and from there I already now how to save it to a "jpg". . .
Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!