0

I would like to send an encrypted image over UDP, for that reason I would like to encrypt the image without compression using RC4. The reason I don't want compression is because I don't want the errors to multiply.
I am looking for a way to transform the image from BufferedImage to byte array without compression.

8
  • @HarryHarrison Can you give me a little bit more information about DataBufferByte since the oracle docs are not enough? For bufferedimages ill it store in an array the bytes for RGB for every pixels? Commented Nov 21, 2015 at 12:37
  • How is DataBufferByte even related to this question? You need to explain further and improve the quality of your question Commented Nov 21, 2015 at 12:40
  • @HarryHarrison DataBufferByte is used in the question you linked in the comments above Commented Nov 21, 2015 at 12:42
  • Sorry, didn't spot that in the other question as it's part of the attempt presented in the question which would be replaced by the code in the answer. Commented Nov 21, 2015 at 12:46
  • I would say you have two questions here Commented Nov 21, 2015 at 12:46

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.