[Added] TurboJPEG

Want to submit a new feature, an enhancement ? Do it here !
Post Reply
DRC
Posts: 6
Joined: Sun Aug 11, 2019 9:15 pm
Country: United States

[Added] TurboJPEG

Post by DRC »

Hi. I'm the principal developer and sole maintainer of libjpeg-turbo, which provides the TurboJPEG API that I presume GraphicConverter is using whenever users select the "TurboJPEG" option. My question is: why is there even an option for that? The options dialog says "Lossless JPEG cropping is only supported with JPEG 6c", but that isn't true. libjpeg-turbo supports lossless cropping with both the TurboJPEG and libjpeg APIs. Our implementation of the libjpeg API, in fact, supports all of the lossless transformation options that libjpeg v9d supports. The TurboJPEG API supports the most popular lossless transformation options. I'm just trying to understand what deficiencies you perceived in libjpeg-turbo that prompted you to pass this decision on to your users.
User avatar
forum_adm
Site Admin
Posts: 1814
Joined: Fri Dec 23, 2016 9:41 am
Location: Germany
Country: Germany
Contact:

Re: TurboJPEG

Post by forum_adm »

Hi,

I found no way to estimate the original used compression rate with TurboJPEG. That is currently the main reason for the option.

I need the following values for a preview of the lossless cropping:
cinfo.max_h_samp_factor;
cinfo.max_v_samp_factor;

Also, I have to use the standard JPEG code on the Apple Silicon.

Also, I have to use the standard JPEG code if the lossless codec is used.

Thorsten
porg
Posts: 554
Joined: Tue Apr 05, 2022 1:04 pm
Country: Austria

Re: TurboJPEG

Post by porg »

@forum_adm : Any news on TurboJPEG integration in GraphicConverter on the different CPU architectures?
User avatar
forum_adm
Site Admin
Posts: 1814
Joined: Fri Dec 23, 2016 9:41 am
Location: Germany
Country: Germany
Contact:

Re: TurboJPEG

Post by forum_adm »

Is already implemented since more than 6 months for opening.
porg
Posts: 554
Joined: Tue Apr 05, 2022 1:04 pm
Country: Austria

Re: [Added] TurboJPEG

Post by porg »

And the problems for lossless cropping and estimating compression rate?
Have you overcome these?
User avatar
forum_adm
Site Admin
Posts: 1814
Joined: Fri Dec 23, 2016 9:41 am
Location: Germany
Country: Germany
Contact:

Re: [Added] TurboJPEG

Post by forum_adm »

I just call the JPEG6 routines to estimate the compression rate - because TurboJPEG does not deliver.

Also, lossless cropping is always done with JPEG6.
porg
Posts: 554
Joined: Tue Apr 05, 2022 1:04 pm
Country: Austria

Re: [Added] TurboJPEG

Post by porg »

Thanks for the info!
Post Reply