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.2)
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.2)
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.2.tar.gz
(3.2 kB
view details)
Built Distribution
File details
Details for the file ensphere-0.2.tar.gz
.
File metadata
- Download URL: ensphere-0.2.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c59ff3cb9d23a64639ca4ee4573bdb1f849d83420d72f61a7a32236569aa83d8 |
|
MD5 | 0af181438ef92ba421ed58e73a4433eb |
|
BLAKE2b-256 | e809596549d4a7a08770a36d249a0079449c0ed26ac579c6687af088ebfbad7d |
File details
Details for the file ensphere-0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: ensphere-0.2-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 | 20f9fa78ee2eb92c78e8bf24d77e3c1d2affd7de78e67509d3ff45f284ed0ee2 |
|
MD5 | 001b148406d51f1528dc69f2c8f7bc73 |
|
BLAKE2b-256 | d115e193f925119ed1cd8932b2fbc83ea21a20253f044bb70c7d63c532cd6689 |