Opened 14 years ago

Closed 5 years ago

#3397 closed enhancement (wontfix)

Allow configuring use of external 12bit libjpeg

Reported by: kyngchaos Owned by: warmerdam
Priority: normal Milestone: closed_because_of_github_migration
Component: ConfigBuild Version: 1.7.0
Severity: normal Keywords:
Cc:

Description

I have built a 12bit libjpeg (from Frank's work at http://sourceforge.net/projects/libjpeg/) to coexist alongside the standard 8bit lib as 'libjpeg12'. This was for use by my libtiff build, and others that may want to use it.

It works fine in GDAL for TIFFs with 12bit jpeg compression. Then I noticed the GDAL configure --with-jpeg12 option so GDAL can support 12bit jpegs directly, and 12bit jpeg in NITF, but it only compiles with the internal jpeg12.

Maybe 100K of object code duplication is not worth the trouble...

Change History (5)

comment:1 by Jukka Rahkonen, 9 years ago

What might be the status of this ticket? Still the same after 5 years?

comment:2 by Jukka Rahkonen, 9 years ago

Even, did r28268 "JPEG: avoid useless code duplication for 12-bit JPEG support" fix this issue?

in reply to:  2 comment:3 by Even Rouault, 9 years ago

Replying to jratike80:

Even, did r28268 "JPEG: avoid useless code duplication for 12-bit JPEG support" fix this issue?

No William's ticket is about being able to link an external libjpeg12. The current configure option --with-jpeg12 just instructs to build the internal libjpeg12. r28268 is just a small optimization to reduce a bit binary size by eleminating stuff unneeded for 12bit JPEGs

comment:4 by Jukka Rahkonen, 6 years ago

I guess this ticket is still valid. Otherwise also https://trac.osgeo.org/gdal/wiki/TIFF12BitJPEG needs refreshing.

comment:5 by Even Rouault, 5 years ago

Milestone: closed_because_of_github_migration
Resolution: wontfix
Status: newclosed

This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.

Note: See TracTickets for help on using tickets.