Article View: borland.public.jbuilder.java.api
Article #2792display an image tilted
From: Shiva Gopalakrishnan
Date: Sat, 01 Apr 2000 00:00
Date: Sat, 01 Apr 2000 00:00
30 lines
1511 bytes
1511 bytes
Hi guys, I need to display an image at an angle tilted. How can I do that in Java/Jbuilder? Are there any API's available to get the pixel information into an array manipulate and redisplay again. Here is the logic of what I think needs to be done. I need some guidance on how? Consider this as the image xxxxxxxxxxx xxxxxxxxxxx xxxxxxxxxxx xxxxxxxxxxx Consider the above as the image where each 'x' is a pixel, I need to pull it into an array, then manipulate it so that the new Image looks like this yyyyyyyyxyyyyyyy yyyyyyxxxxxyyyyy yyyyxxxxxxxxyyyy yyxxxxxxxxxxxxyy xxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx yyxxxxxxxxxxxxyy yyyyxxxxxxxxyyyy .... Where 'y' are the pixel padding given so that the image appears to be tilted. Thanks in advance for any help - Shiva
Technical Details
Message-ID:
<SVvF4.13183$9m6.521467@newsread1.prod.itd.earthlink.net>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,d2ef0b84ac87dab0,start X-Google-Attributes: gid1089d0,public From: "Shiva Gopalakrishnan" <shivag@earthlink.net> Subject: display an image tilted Date: 2000/04/01 Message-ID: <SVvF4.13183$9m6.521467@newsread1.prod.itd.earthlink.net> X-Deja-AN: 605451392 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 954632946 38.14.58.117 (Sat, 01 Apr 2000 15:49:06 PST) Organization: EarthLink Inc. -- http://www.EarthLink.net X-MSMail-Priority: Normal NNTP-Posting-Date: Sat, 01 Apr 2000 15:49:06 PST Newsgroups: borland.public.jbuilder.java.api