A complete implementation of 10918-1 (JPEG) coming from jpeg.org (the ISO group) with extensions for HDR, lossless and alpha channel coding standardized as ISO/IEC 18477 (JPEG XT).
327
stars
81
forks
source link
Allow creation of default Baseline JPEG image: JPGFLAG_BASELINE #59
jpeg
command line tool does not allow creation of default baseline JPEG, it always default to sequential extended:int frametype = JPGFLAG_SEQUENTIAL;
There is no way then to reset back
frametype
toJPGFLAG_BASELINE
.Typical setup (create an 8x8 RGB black image):
compare to the ijg/turbo-jpeg:
$ cjpeg -optimize -quality 100 -outfile black_cjpeg.jpg black.ppm
libjpeg it creating:
SOF1
Huffman Extended Sequential DCTwhile ijg/turbo-jpeg creates:
SOF0
Huffman Baseline DCT(as a side note it would also be nice to be able to remove the
APPB
marker completely).