apftool 0.2.2__tar.gz → 0.2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apftool
3
- Version: 0.2.2
3
+ Version: 0.2.4
4
4
  Summary: Aperture Science Image Format (apf) encoder and decoder
5
5
  Author: Mari (kbity)
6
6
  Requires-Python: >=3.10
@@ -494,6 +494,8 @@ def encodeaf2(img: bytes, lineskip: int = 1, findbestlineskip: bool = False, leg
494
494
  outputs.append(temp)
495
495
 
496
496
  output = "\n".join(outputs)
497
+ if findbestlineskip:
498
+ apflist.append(metadata)
497
499
  if trans:
498
500
  af2pal = " FF00FF"+af2pal # this is for decoders without transparency support
499
501
  apflist.append(af2pal)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apftool
3
- Version: 0.2.2
3
+ Version: 0.2.4
4
4
  Summary: Aperture Science Image Format (apf) encoder and decoder
5
5
  Author: Mari (kbity)
6
6
  Requires-Python: >=3.10
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "apftool"
7
- version = "0.2.2"
7
+ version = "0.2.4"
8
8
  description = "Aperture Science Image Format (apf) encoder and decoder"
9
9
  authors = [{name = "Mari (kbity)"}]
10
10
  readme = "README.md"
File without changes
File without changes
File without changes
File without changes
File without changes