File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Image Question

 
Kevin Wright
Ranch Hand
Posts: 38
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi -
Is it possible to place one image on top of another? My situation is this: I have a background image that will have one of three different indicators (also static images) rotated depending on data once a week. This is difficult in HTML, I am trying it out in java.
Thanks,
Kevin
 
Zkr Ryz
Ranch Hand
Posts: 187
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are you trying to do ?
Where do you want yo put this image ???
Probably you could do this:
Have as many images as posibly indicators in a single image ( composed of the background and the foregorund image ), and then rotate it once a week but changing the whole image.
Do you know what I mean ?

Originally posted by Kevin Wright:
Hi -
Is it possible to place one image on top of another? My situation is this: I have a background image that will have one of three different indicators (also static images) rotated depending on data once a week. This is difficult in HTML, I am trying it out in java.
Thanks,
Kevin
 
Kevin Wright
Ranch Hand
Posts: 38
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I'm sorry if it didn't seem clear. Imagine this situation:
+---------------------------------+
| X X |
| |
| X |
+---------------------------------+
The X's are sub-images...I need to find a way to super-impose them onto the main image.
Thanks,
Kevin
 
Kevin Wright
Ranch Hand
Posts: 38
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay, so the ASCII graphics suck....hope the point gets across anyway
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To do this in HTML you would have to use CSS (Cascading Style Sheets)...

To do this in Java, you'd have to write a program like the one below...



And launch it in a HTML page like this...
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic