Skip to main content

Aperture Science Image Format (apf) encoder and decoder

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.2.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.2-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: apftool-0.3.2.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.2.tar.gz
Algorithm Hash digest
SHA256 a435188ad41c37a0d1f10599f08bc024ad9f49bde4b0b1e1c284cedf437686de
MD5 c79facd128dc996a6d5704b7ba49eba6
BLAKE2b-256 fa0d6e029106287042bb8d8700ac2c599008e4742f50c4f823a6b4e5e6b10870

See more details on using hashes here.

File details

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

File metadata

  • Download URL: apftool-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 12.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e22ad371c8521c3f1e9fc3f0c33cb4e6ac9324e70a2ab6c03988a00f2430585c
MD5 7f8ad78f1b653afa3e3467327dd6dc04
BLAKE2b-256 4ea1ef327a9c0a9efa9ad186fdf089e070b563000896c3632d5dd28b7b17d986

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