Hello again,
Thank you all for the posts and explanations, After getting the clojure SVN version and few tweaks in the code, the working result looks like: (with-open [ofile (new java.io.FileOutputStream (str result-directory "/" (make-filename x y)) (boolean true))] ; I am appending only (. ofile write (into-array Byte/TYPE [(byte (bit-shift-right pix 16)) (byte (bit-shift-right pix 8)) (byte pix)])) ; the pix is of the Integer type Vlad --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---