The Artima Developer Community
Sponsored Link

Java Answers Forum
java awt Image - getting imagedata as byte[] in Applet

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Saku

Posts: 1
Nickname: sdevi
Registered: Sep, 2002

java awt Image - getting imagedata as byte[] in Applet Posted: Sep 8, 2002 4:06 PM
Reply to this message Reply
Advertisement
Is there any way to get the imagedata of an image (always)
in terms of byte[].
When pixelGrabber is used, it sometimes gives the image data as int[] based on ColorModel.
Since I am using Base64 encoding/decoding in my applet, I need imagedata (always)in terms of byte[], which I am encoding to String and decoding back to byte[].
Any help is greatly appreciated.

Topic: JAVA Applet connected to Access Previous Topic   Next Topic Topic: printing in java

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use