image manipulation package?

D

Dundonald

Hi,

can anyone recommend a good image package that will allow me to add
text to certain image templates? Without going in to too much detail
(and boring you) I have a small number of image templates, for example
a business card being one of them, that I wish to allow users to enter
their details on a form and then I want to add those details to my
business card template image at set positions per field then render
the updated image for the user to download or print.

Any ideas please?

Thanks
 
V

viv

Hi,

can anyone recommend a good image package that will allow me to add
text to certain image templates?  Without going in to too much detail
(and boring you) I have a small number of image templates, for example
a business card being one of them, that I wish to allow users to enter
their details on a form and then I want to add those details to my
business card template image at set positions per field then render
the updated image for the user to download or print.

Any ideas please?

Thanks

Hi,

Did you tried java.awt.image ? I think you can use the BufferedImage
class to load your image template, and use the method createGraphics()
to get a Graphics2D instance. This object will allow you to put some
text on these images.

Hope this helps,

Vivien Barousse
 
D

Dundonald

Hi,

Did you tried java.awt.image ? I think you can use the BufferedImage
class to load your image template, and use the method createGraphics()
to get a Graphics2D instance. This object will allow you to put some
text on these images.

Hope this helps,

Vivien Barousse

Vivien I've never had reason to do image manipulation so thanks for
pointing the tinned up package, I'll check it. I'll report back for
completeness.

In the meantime if any other suggestions please pass on.

Thanks
 
D

Daniel Pitts

Dundonald said:
Vivien I've never had reason to do image manipulation so thanks for
pointing the tinned up package, I'll check it. I'll report back for
completeness.

In the meantime if any other suggestions please pass on.

Thanks
For more sophisticated image manipulation, check out JMagick.
 
T

Tom Anderson

Vivien I've never had reason to do image manipulation so thanks for
pointing the tinned up package, I'll check it. I'll report back for
completeness.

In the meantime if any other suggestions please pass on.

Nope, that's pretty much it!

There are other image-processing libraries for java, but they're more
oriented towards dealing with all sorts of obscure file formats and doing
classic image processing like convolution etc. They aren't what you need.

The one other thing i'd point you at is javax.imageio, which does reading
and writing of image files. java.awt.image is the way to do the actual
graphics, though. You go to imageio to load your template, image to get a
Graphics object, awt to draw on it, then imageio again to write it out.

tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top