I would like ask two questions about JPEG coding
(1) I noticed a "strange" behaviour of JPEG lossless transformations. This procedure is assumed not to recode the JPEG blocks but just to keep the desired ones (cropping) or change their order (rotation) to be lossless. Actually, it is lossless (so it does the job properly

(2) Why not implementing the arithemetic coding for JPG (as provided by the Independent JPEG group) ? in the past there were patents on this but they all have expired so that a few viewers are already able to read/write arithmetic jpg files.
Thanks
Simon