Saya mencoba membaca file jpeg dengan Java dan menulisnya ke file skrip posting saya. Ketika saya membuka file skrip posting dengan penyuling Acrobat saya mendapatkan kesalahan:
%%[ Error: typecheck; OffendingCommand: imageDistiller ]%%
Stack:
{( Leaving filterIntercept
) --print-- --flush--}
false
/DCTDecode
-dict-
-file-
%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
%%[ Warning: PostScript error. No PDF file produced. ] %%
Berikut ini tampilan file postscript saya tanpa data jpeg.
%!PS-Adobe-3.0
/jpegimage
{173 36 1 [173 0 0 -36 0 36]
{currentfile /ASCII85Decode filter /DCTDecode filter}
image
} bind def
%%Page: 1 1
%%PageBoundingBox: 0 0 612.0 792.0
100 200 translate
jpegimage
...(jpeg data inline here)...
showpage
%%PageTrailer
%%Trailer
%%EOF