Skip to main content

Encoder and decoder for Aperture Science Image Format (apf), Aperture Science Image Format 2 (apf2), and Wireless Bitmap (wbmp)

Project description

A library for converting to and from Aperture Science apf files, the custom extended apf2s, and wbmp images.

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.3.3.tar.gz (11.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.3.3-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: apftool-0.3.3.tar.gz
  • Upload date:
  • Size: 11.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.3.3.tar.gz
Algorithm Hash digest
SHA256 7bdaba2a6ef60332cb4a4dbe33f1d0bbe516b6acd2ed2775cce51b8074f9f1cd
MD5 be0deb216bb5e792c8543bfd4c219c36
BLAKE2b-256 dc416251deb97933200c16521c3820b6a9b59108890d9fcc2ce9a60cc3b4b645

See more details on using hashes here.

File details

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

File metadata

  • Download URL: apftool-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 13.0 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.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7f23b2e1d0ba32c79e79419acd16c4dcbf689c4550734e9d156ae798d80cbf73
MD5 4eea4322e2545695c564afa1d6bfccda
BLAKE2b-256 fca847f2a921aafd5a69bce054beb6f7bb4c3952af377e55a78c5336e110af7e

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