File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can i import a partial transparent image?

 
Shay Gaghe
Ranch Hand
Posts: 102
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I developing a GUI that contains several images. I need the images to be in oval shape(since they are overlapping each other).
I want to import into my application an image but only rectangle shape is available , is this possible to do parts of an image transparent (then I can to do the image oval and not rectangle)?
Thanks
Shay Gaghe

[This message has been edited by Shay Gaghe (edited October 14, 2001).]
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using an image type that supports transparency ( like transparent GIFs ), then Java will recognize the transparency...

This should solve your problem... if not, I have some code to programmatically make an image transparent, but it's much easier to just use transparent GIFs...

-Nate
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic