Add XMP metadata for PanoSphere in the pictures.
Project description
# ensphere
Add XMP info for PanoSphere in the pictures.
## Requirements
Install `exempi` in advance.
On MacOS,
brew install exempi
## Usage
usage: ensphere [-h] [--version]
[--set UsePanoramaViewer=True,ProjectionType=equirectangular]
filenames [filenames ...]
Add XMP metadata for PanoSphere in the pictures. (version 0.3)
positional arguments:
filenames File names (JPEG files only)
optional arguments:
-h, --help show this help message and exit
--version, -V show program's version number and exit
--set UsePanoramaViewer=True,ProjectionType=equirectangular, -s UsePanoramaViewer=True,ProjectionType=equirectangular
Set metadata for PanSpheres. Available variables:
['UsePanoramaViewer', 'CaptureSoftware',
'StitchingSoftware', 'ProjectionType',
'PoseHeadingDegrees', 'PosePitchDegrees',
'PoseRollDegrees', 'InitialViewHeadingDegrees',
'InitialViewPitchDegrees', 'InitialViewRollDegrees',
'InitialHorizontalFOVDegrees', 'FirstPhotoDate',
'LastPhotoDate', 'SourcePhotosCount',
'ExposureLockUsed', 'CroppedAreaImageWidthPixels',
'CroppedAreaImageHeightPixels', 'FullPanoWidthPixels',
'FullPanoHeightPixels', 'CroppedAreaLeftPixels',
'CroppedAreaTopPixels', 'InitialCameraDolly']
## Example
To add the default metadata for a equirectangular JPEG image.
ensphere equirectangular.jpg
For a cropped image, you also have to specify the original image size with `-s` option.
ensphere -s 'FullPanoWidthPixels=8000,FullPanoHeightPixels=4000,CroppedAreaLeftPixels=0,CroppedAreaTopPixels=0' partial.jpg
Add XMP info for PanoSphere in the pictures.
## Requirements
Install `exempi` in advance.
On MacOS,
brew install exempi
## Usage
usage: ensphere [-h] [--version]
[--set UsePanoramaViewer=True,ProjectionType=equirectangular]
filenames [filenames ...]
Add XMP metadata for PanoSphere in the pictures. (version 0.3)
positional arguments:
filenames File names (JPEG files only)
optional arguments:
-h, --help show this help message and exit
--version, -V show program's version number and exit
--set UsePanoramaViewer=True,ProjectionType=equirectangular, -s UsePanoramaViewer=True,ProjectionType=equirectangular
Set metadata for PanSpheres. Available variables:
['UsePanoramaViewer', 'CaptureSoftware',
'StitchingSoftware', 'ProjectionType',
'PoseHeadingDegrees', 'PosePitchDegrees',
'PoseRollDegrees', 'InitialViewHeadingDegrees',
'InitialViewPitchDegrees', 'InitialViewRollDegrees',
'InitialHorizontalFOVDegrees', 'FirstPhotoDate',
'LastPhotoDate', 'SourcePhotosCount',
'ExposureLockUsed', 'CroppedAreaImageWidthPixels',
'CroppedAreaImageHeightPixels', 'FullPanoWidthPixels',
'FullPanoHeightPixels', 'CroppedAreaLeftPixels',
'CroppedAreaTopPixels', 'InitialCameraDolly']
## Example
To add the default metadata for a equirectangular JPEG image.
ensphere equirectangular.jpg
For a cropped image, you also have to specify the original image size with `-s` option.
ensphere -s 'FullPanoWidthPixels=8000,FullPanoHeightPixels=4000,CroppedAreaLeftPixels=0,CroppedAreaTopPixels=0' partial.jpg
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ensphere-0.3.tar.gz
(3.2 kB
view details)
Built Distribution
File details
Details for the file ensphere-0.3.tar.gz
.
File metadata
- Download URL: ensphere-0.3.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bba29e449fa6f9c15bc5cfdb796fa63dc7b836739f7594c9dfbb36c1bb510afc |
|
MD5 | 2cf9ece1229d38a464d7d35395646421 |
|
BLAKE2b-256 | 7bb8c63ddfcdfe9ee7998656f2f534b8715f7f9d9ea1b4c4c6e022bf89766090 |
File details
Details for the file ensphere-0.3-py2.py3-none-any.whl
.
File metadata
- Download URL: ensphere-0.3-py2.py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e699ae8390b54744c15ffd7353baa087869d55423b07e44b137d2a2446478c0 |
|
MD5 | cc6bff579d517750f2bd6587e226791b |
|
BLAKE2b-256 | 51f8357eee1edeb5d5151eaa1e1e12e636fb5da8f75a410fc20902a50d540c80 |