Skip to main content

Aperture Science Image Format (apf) encoder and decoder

Project description

a small library for converting to and from Aperture Science apf files.

usage:

import apftool
apfString = apftool.encodeapf(pngObject) # turns image bytes object into apf string
pngObject = apftool.decodeapf(apfString) # turns apf string object into image bytes

included is a simple cli tool.

usage:

python apfcli.py maricom.png # creates maricom.apf
python apfcli.py maricom.apf # creates maricom.png

dependancies: PIL, io (apftool)

dependancies: sys, os, io (apfcli)

most of these a builtins but you may need to install PIL seporately

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apftool-0.2.3.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

apftool-0.2.3-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file apftool-0.2.3.tar.gz.

File metadata

  • Download URL: apftool-0.2.3.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for apftool-0.2.3.tar.gz
Algorithm Hash digest
SHA256 4c026a5ac47704070326a74f6e596f23a722757b3e1c7d1ecda919cf914b4e5f
MD5 68c60115abef6b9242c5c01774ec25fc
BLAKE2b-256 1645ee4b6c94b8ec4e5ee85e8060d2631586608b03020fde3510b22fc533a607

See more details on using hashes here.

File details

Details for the file apftool-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: apftool-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for apftool-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 334373635ac89f8cb5971f14bac75669cf212a609fa3134f86d0d8beed18b9f2
MD5 22621f3132f852eff3ff893590760869
BLAKE2b-256 3604de59121f9a5cc3dd79ca520d46927957b802837afc5ae842cad00b269e82

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page