This content has been marked as final. Show 4 replies
This line smells -
Bytes are not characters. 'String' should not be used to store binary data (that is why you use Base64) since the transform byte -> String -> byte does not in general recover the original. For some character encoding you will get away with it but not in general.
String strTiffImage = getImageAsString(); // get tiff Image as string after processing to convert multi page Image
Check the user's history also, this is just a continuation of a previous thread.
Convert Multi Page Tiff Image to String
(which provides more background information as to why the OP is trying to do this)