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.1.0.tar.gz (6.9 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.1.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for apftool-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3062740dc6c51a8a4fd6936e0c964e7fb5d43c30c638f2ff1a58ee33aab5202f
MD5 b1ff0d8e75d7777654c6ccdda9d08141
BLAKE2b-256 782b5e3c66dcee22f2e036eaec096e6f94e39ac419f06d85410cdef2a263cfb7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: apftool-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c4b527d376290d4dd933f455fd97b508d31c79571cca45295250871f6a57cdd7
MD5 8c122aad6eb9dd2528d399d2ba5d367e
BLAKE2b-256 e4f146a7959c29137358fbfb2ddb33105c993c6eaeb990dcb7f0d914a9dec0f9

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