Working with bitmaps
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Monday, December 17, 2001 11:03 AM

Hello.

I'm working in Visual Age 3.02 over W'98 and I need to load a bitmap and draw some kinds of lines depending the user' entry.

How can I do it? Is there any class or API function that could be useful?

Any example will be pleased.

Thank you all.

Andres CaƱadas
DMR Consulting
Spain

Re: Working with bitmaps

Posted By:   Christopher_Schultz  
Posted On:   Tuesday, December 18, 2001 07:49 AM

AWT alone cannot load/store bitmaps. You'll want to check out the Java Advanced Imaging (JAI) toolkit.



If that doesn't support bitmaps (I think it does, though), then you'll have to find another library that will do it for you.



If all else fails, the bitmap file format isn't that complicated; you could write your own reader/writer :)



-chris
About | Sitemap | Contact