Ticket #27 (new enhancement)

Opened 2 years ago

add an option to read captions from JPEG comment blocks

Reported by: Stuart Assigned to: giblet
Priority: normal Milestone:
Component: options Version:
Severity: normal Keywords:
Cc:

Description

JPEG files can contain "comment" (COM) blocks. Please add an option to read the captions that are overlayed on the images from these comment blocks. This option would be an alternative to the --caption-path option.

This new option should take an argument which indicates the maximum number of comment blocks to be read from the JPEG file. 0 could mean all of them.

The man page for rdjpgcom says that rdjpgcom does not use the IJG JPEG library and the source for rdjpgcom "is intended as an illustration of the minimum amount of code required to parse a JPEG file header correctly".