Author Topic: JPEG Huffman Coding  (Read 5294 times)

Offline SamoMalo

  • Newcomer
  • *
  • Posts: 15
    • View Profile
JPEG Huffman Coding
« on: September 25, 2017, 10:55:48 PM »
Is there a way to see support in this coding ?
I'm asking because every export I need to export in 90-100% then use extra software to make a smaller JPG the quality is the same just the coding is better.

What do you think about it*?

https://www.youtube.com/watch?v=iiGZ947Tcck

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24731
    • View Profile
    • Camera Bits, Inc.
Re: JPEG Huffman Coding
« Reply #1 on: September 26, 2017, 07:52:04 AM »
Is there a way to see support in this coding ?
I'm asking because every export I need to export in 90-100% then use extra software to make a smaller JPG the quality is the same just the coding is better.

What do you think about it*?

https://www.youtube.com/watch?v=iiGZ947Tcck

We already do that in PM.

-Kirk

Offline SamoMalo

  • Newcomer
  • *
  • Posts: 15
    • View Profile
Re: JPEG Huffman Coding
« Reply #2 on: September 26, 2017, 09:15:41 AM »
Is there a way to see support in this coding ?
I'm asking because every export I need to export in 90-100% then use extra software to make a smaller JPG the quality is the same just the coding is better.

What do you think about it*?

https://www.youtube.com/watch?v=iiGZ947Tcck

We already do that in PM.

-Kirk

Do you as well use Photometric Interpretation and which one?

Offline dennis

  • President
  • Camera Bits Staff
  • Sr. Member
  • *****
  • Posts: 462
    • View Profile
    • Camera Bits, Inc.
Re: JPEG Huffman Coding
« Reply #3 on: September 26, 2017, 11:18:52 AM »
Huffman encoding is the most common form used in JPEG for the lossless coding of the discrete cosine transform (DCT) coefficients.  There is also arithmetic encoding which can produce smaller files.  But the big savings in size comes from reducing number of bits for the coefficients of the DCT, and this is controlled by the quality slider.  Different JPEG compressors have different meaning for 90% etc (IOW something like, say 85% isn't the same in Photo Mechanic as it is in another program with 85% quality).  In PM, 100% is essentially a lossless encoding (other than an occasional rounding error of 1 level in the DCT math) and can cause file sizes to be quite large, especially with a noisy source that has been cropped on a non 8x8 boundary because the compressor is trying to accurately represent all the noise and artifacts.

PM uses RGB photometric interpretation.

--dennis

Offline SamoMalo

  • Newcomer
  • *
  • Posts: 15
    • View Profile
Re: JPEG Huffman Coding
« Reply #4 on: October 23, 2017, 12:28:14 PM »

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24731
    • View Profile
    • Camera Bits, Inc.