Hi!
I have the next problem: (I`ll show the source because my English is
terrible. =[ )
Canvas srcImgBaseComp= new Canvas();
Image srcImg=srcImgBaseComp.getToolkit().createImage(fileName);
// The problem is:
Graphics srcGr= srcImg.getGraphics();
/* ... it says that "only valid for images created with
createImage(w, h)"
And really... then it works... But how can I load then a
picture from stream or something into _this_ Image?
I do not have on my host any windowmanagers, so is it the problem?
I`ve tried the pixelgrabber, to "steal" the image data, but that
one didn`t work too...
Have You any idea? :)
*/
So, it was my question...
Thanks a lot:
Ivo Rajmon
mailto:[EMAIL PROTECTED]
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets