Skip to content

Possibility to disable (or enhance) logging from png and jpeg extensions (maybe others) #402

Open
@misos1

Description

Is your feature request related to a problem? Please describe.

In case of error both libjpeg and libpng will write message to stderr in contrast with libtiff where can be logging turned off.

Describe the solution you'd like

Possibility to turn off writing error messages to stderr.

Describe alternatives you've considered

Maybe incorporate error messages from used libraries into exception error string. So instead of something like this:

stderr: libpng error: [00][00][00][00]: invalid chunk type
C++ exception what(): "png is invalid: iostream error"

It could be:

C++ exception what(): "png is invalid: [00][00][00][00]: invalid chunk type"

This would be nice for all extensions including tiff.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    cat/featureNew feature or functionalityext/ioboost/gil/extension/io/status/need-helpIssues where help and contributions are welcome

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions