Results 1 to 2 of 2
Thread: Problem with Base64 encoding
- 04-14-2010, 01:33 PM #1
Member
- Join Date
- Apr 2010
- Posts
- 2
- Rep Power
- 0
Problem with Base64 encoding
I'm using org.apache.commons.codec.binary for base64 encoding. For at least short text files it works, but when I try to encode eg. a JPEG image, there is a problem. After decoding the pixel amount is correct and it shows it as an image, but the image is somehow scrambled. For these JPEG files, about two thirds of the image blocks are messed up, and the last third of the blocks are shown as mere gray.
Any ideas what could cause this?
- 04-15-2010, 11:05 AM #2
Member
- Join Date
- Apr 2010
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
Encoding Problem
By GJ! in forum Advanced JavaReplies: 6Last Post: 01-12-2010, 08:09 PM -
Lucene Indexer Encoding problem
By svirid in forum LuceneReplies: 5Last Post: 02-18-2009, 09:26 AM -
encoding issue in jsp
By sams11 in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 11-25-2008, 07:55 AM -
Include Base64 encoded data into XML
By afolli in forum New To JavaReplies: 0Last Post: 09-11-2008, 10:22 AM -
Some help with encoding...
By nm123 in forum NetworkingReplies: 0Last Post: 04-15-2008, 12:22 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks