Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation improvement #137

Open
Franky4242 opened this issue Nov 19, 2022 · 0 comments
Open

Documentation improvement #137

Franky4242 opened this issue Nov 19, 2022 · 0 comments

Comments

@Franky4242
Copy link

The load function documentation is not complete : the parameter key_is_name is not described.
in load_.py should be :

def load(input_data, key_is_name=False):
    """
    py:function:: piexif.load(filename)
    Return exif data as dict. Keys(IFD name), be contained, are "0th", "Exif", "GPS", "Interop", "1st", and "thumbnail". Without "thumbnail", the value is dict(tag name/tag value). "thumbnail" value is JPEG as bytes.
    :param str filename: JPEG or TIFF
    :param bool key_is_name : if True replaces exif codes by their names as keys in the result dict
    :return: Exif data({"0th":dict, "Exif":dict, "GPS":dict, "Interop":dict, "1st":dict, "thumbnail":bytes})
    :rtype: dict
    """
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant