checkpt
This commit is contained in:
@ -0,0 +1 @@
|
||||
pip
|
@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014, 2015 hMatoba
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
117
lib/python3.12/site-packages/piexif-1.1.3.dist-info/METADATA
Normal file
117
lib/python3.12/site-packages/piexif-1.1.3.dist-info/METADATA
Normal file
@ -0,0 +1,117 @@
|
||||
Metadata-Version: 2.1
|
||||
Name: piexif
|
||||
Version: 1.1.3
|
||||
Summary: To simplify exif manipulations with python. Writing, reading, and more...
|
||||
Home-page: https://github.com/hMatoba/Piexif
|
||||
Author: hMatoba
|
||||
Author-email: hiroaki.mtb@outlook.com
|
||||
License: MIT
|
||||
Keywords: exif,jpeg
|
||||
Platform: UNKNOWN
|
||||
Classifier: Development Status :: 5 - Production/Stable
|
||||
Classifier: Operating System :: OS Independent
|
||||
Classifier: Programming Language :: Python :: 2
|
||||
Classifier: Programming Language :: Python :: 2.7
|
||||
Classifier: Programming Language :: Python :: 3
|
||||
Classifier: Programming Language :: Python :: 3.5
|
||||
Classifier: Programming Language :: Python :: 3.6
|
||||
Classifier: Programming Language :: Python :: 3.7
|
||||
Classifier: Programming Language :: Python :: Implementation :: CPython
|
||||
Classifier: Programming Language :: Python :: Implementation :: IronPython
|
||||
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
||||
Classifier: License :: OSI Approved :: MIT License
|
||||
Classifier: Topic :: Multimedia
|
||||
Classifier: Topic :: Printing
|
||||
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
|
||||
|
||||
Piexif
|
||||
======
|
||||
|
||||
|Build Status| |Windows Build| |Coverage Status| |docs|
|
||||
|
||||
|
||||
To simplify exif manipulations with Python. Writing, reading, and more... Piexif is pure Python. To everywhere with Python.
|
||||
|
||||
|
||||
Document: http://piexif.readthedocs.org/en/latest/
|
||||
|
||||
Online demo: http://piexif-demo.appspot.com/demo
|
||||
|
||||
Install
|
||||
-------
|
||||
|
||||
'easy_install'::
|
||||
|
||||
$ easy_install piexif
|
||||
|
||||
or 'pip'::
|
||||
|
||||
$ pip install piexif
|
||||
|
||||
or download .zip, extract it. Put 'piexif' directory into your environment.
|
||||
|
||||
Why Choose Piexif
|
||||
-----------------
|
||||
|
||||
- Pure Python. So, it runs everywhere where Python runs.
|
||||
- Easy exif manipulations. Read, write, remove...
|
||||
- Documented. http://piexif.readthedocs.org/en/latest/
|
||||
|
||||
How to Use
|
||||
----------
|
||||
|
||||
There are only just five functions.
|
||||
|
||||
- *load(filename)* - Get exif data as *dict*.
|
||||
- *dump(exif_dict)* - Get exif as *bytes*.
|
||||
- *insert(exif_bytes, filename)* - Insert exif into JPEG, or WebP.
|
||||
- *remove(filename)* - Remove exif from JPEG, or WebP.
|
||||
- *transplant(filename, filename)* - Transplant exif from JPEG to JPEG.
|
||||
|
||||
Example
|
||||
-------
|
||||
|
||||
::
|
||||
|
||||
exif_dict = piexif.load("foo1.jpg")
|
||||
for ifd in ("0th", "Exif", "GPS", "1st"):
|
||||
for tag in exif_dict[ifd]:
|
||||
print(piexif.TAGS[ifd][tag]["name"], exif_dict[ifd][tag])
|
||||
|
||||
With PIL(Pillow)
|
||||
----------------
|
||||
|
||||
::
|
||||
|
||||
from PIL import Image
|
||||
import piexif
|
||||
|
||||
im = Image.open(filename)
|
||||
exif_dict = piexif.load(im.info["exif"])
|
||||
# process im and exif_dict...
|
||||
w, h = im.size
|
||||
exif_dict["0th"][piexif.ImageIFD.XResolution] = (w, 1)
|
||||
exif_dict["0th"][piexif.ImageIFD.YResolution] = (h, 1)
|
||||
exif_bytes = piexif.dump(exif_dict)
|
||||
im.save(new_file, "jpeg", exif=exif_bytes)
|
||||
|
||||
Environment
|
||||
-----------
|
||||
|
||||
Tested on Python 2.7, 3.5+ and PyPy3. Piexif would run even on IronPython. Piexif is OS independent and can run on Google App Engine.
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
This software is released under the MIT license, see LICENSE.txt.
|
||||
|
||||
.. |Build Status| image:: https://api.travis-ci.org/hMatoba/Piexif.svg?branch=master
|
||||
:target: https://travis-ci.org/hMatoba/Piexif
|
||||
.. |Windows Build| image:: https://ci.appveyor.com/api/projects/status/github/hMatoba/Piexif?branch=master&svg=true
|
||||
:target: https://ci.appveyor.com/project/hMatoba/piexif
|
||||
.. |Coverage Status| image:: https://coveralls.io/repos/hMatoba/Piexif/badge.svg?branch=master
|
||||
:target: https://coveralls.io/r/hMatoba/Piexif?branch=master
|
||||
.. |docs| image:: https://readthedocs.org/projects/piexif/badge/?version=latest
|
||||
:target: https://readthedocs.org/projects/piexif/
|
||||
|
||||
|
29
lib/python3.12/site-packages/piexif-1.1.3.dist-info/RECORD
Normal file
29
lib/python3.12/site-packages/piexif-1.1.3.dist-info/RECORD
Normal file
@ -0,0 +1,29 @@
|
||||
piexif-1.1.3.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
piexif-1.1.3.dist-info/LICENSE.txt,sha256=ydLie1bhxHu5n_rEPWEHcBncVAFdXjTQ6EQRzOPRu94,1101
|
||||
piexif-1.1.3.dist-info/METADATA,sha256=bQ3z6IAClxOiDYZgHQQSDwtF8e3NtrDy-mMEWRttlJM,3697
|
||||
piexif-1.1.3.dist-info/RECORD,,
|
||||
piexif-1.1.3.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
piexif-1.1.3.dist-info/WHEEL,sha256=53VSps8MltPLN_x9Ib61FU2ZSaJKzgrWQqu9rS-Dkgk,116
|
||||
piexif-1.1.3.dist-info/top_level.txt,sha256=07ZddsepHtBXN8dAff0yuvFbGwMN5UdCRQ3E9wfbcjs,7
|
||||
piexif/__init__.py,sha256=VaRSDxE8ks6dtIt5L1cLpdzHreFK47nlY5FEVA6vi14,220
|
||||
piexif/__pycache__/__init__.cpython-312.pyc,,
|
||||
piexif/__pycache__/_common.cpython-312.pyc,,
|
||||
piexif/__pycache__/_dump.cpython-312.pyc,,
|
||||
piexif/__pycache__/_exceptions.cpython-312.pyc,,
|
||||
piexif/__pycache__/_exif.cpython-312.pyc,,
|
||||
piexif/__pycache__/_insert.cpython-312.pyc,,
|
||||
piexif/__pycache__/_load.cpython-312.pyc,,
|
||||
piexif/__pycache__/_remove.cpython-312.pyc,,
|
||||
piexif/__pycache__/_transplant.cpython-312.pyc,,
|
||||
piexif/__pycache__/_webp.cpython-312.pyc,,
|
||||
piexif/__pycache__/helper.cpython-312.pyc,,
|
||||
piexif/_common.py,sha256=jSdO4cEa6g5K5m0vqNze8SxJ_sL14rIc_ruErq_UhII,2684
|
||||
piexif/_dump.py,sha256=PRxh9dOTfWMN6ihD3btKfKISdZa_UgRhyrTLwC953fw,13095
|
||||
piexif/_exceptions.py,sha256=4_hq3B3EdWBFUXUHNZfrBpF7FUrA4BSJDz7PD3AHx8Y,52
|
||||
piexif/_exif.py,sha256=fvxM_id_pMNEbX09O5zzODmBHXFEN2K3bF54RdqO9cA,30450
|
||||
piexif/_insert.py,sha256=EbkeB3lE6_sL6tdN46rDS_J8VReRQAFSzAtc24EHRk4,1932
|
||||
piexif/_load.py,sha256=wHV92_UOAxXastfUXewb8h_LHQvR9WdmC6-88gwfYjY,12504
|
||||
piexif/_remove.py,sha256=hHLRUOKlcUU2u0nbisyzhzD-jdePPFmO1BNYAzm2fa4,1595
|
||||
piexif/_transplant.py,sha256=pXVUAd5mIGPPTQXGqNgrFRNlLgqnd0KEYwsRfl8_mFk,1269
|
||||
piexif/_webp.py,sha256=PAORkkAdQJNDX5-wC6q7LNckmtmEWd4e1LWtSafAYpA,8129
|
||||
piexif/helper.py,sha256=GTuCk2ZyGVmi7VXj2c4NnhUcRPbGlOkiwxgecAp3_7w,2526
|
@ -0,0 +1,6 @@
|
||||
Wheel-Version: 1.0
|
||||
Generator: bdist_wheel (0.33.4)
|
||||
Root-Is-Purelib: true
|
||||
Tag: py2-none-any
|
||||
Tag: py3-none-any
|
||||
|
@ -0,0 +1 @@
|
||||
piexif
|
Reference in New Issue
Block a user