Article View: borland.public.jbuilder.java.api
Article #3329gif in application
From: Tycho Luyben
Date: Sun, 08 Feb 1998 00:00
Date: Sun, 08 Feb 1998 00:00
21 lines
1062 bytes
1062 bytes
Hi,
I'm playing around with gif in applications that do not show anything on the
screen (like CGI etc); I need to do the following;
Image i1 = toolkit.getdefaulttoolkit.getimage("image1.gif");
Image i2 = toolkit.getdefaulttoolkit.getimage("image2.gif");
Image i3 = createimage(i1.getwidth(???),i1.getheight(???));
Graphics g1 = i3.getgraphics();
g1.drawimage(i1,0,0,???);
g1.drawimage(i2,0,0,???);
and then write it to a file... The writing to a file was no problem, but i
don't know what to put instead of the ???...
Has someone written an servlet that does this and can that someone help me?
Thanks...
Please Post & Reply...
Technical Details
Message-ID:
<6bj03i$bfg1@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,5fd79e96fbdfc21d,start X-Google-Attributes: gid1089d0,public From: "Tycho Luyben" <tycho@club.tip.nl> Subject: gif in application Date: 1998/02/08 Message-ID: <6bj03i$bfg1@forums.borland.com> X-Deja-AN: 323034354 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.0103.0 Organization: None Newsgroups: borland.public.jbuilder.java.api