Metadata-Version: 2.4
Name: seedream-5-5-png-checker
Version: 0.1.0
Summary: Check transparency in a locally saved PNG from Seedream 5.5 or another image tool.
License-Expression: MIT
Project-URL: Transparent PNG Guide, https://seedream55pro.com/blog/seedream-5-5-transparent-background
Keywords: seedream,png,transparency,alpha channel,image inspection
Requires-Python: >=3.9
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: Pillow>=10
Dynamic: license-file

Seedream 5.5 PNG Checker
========================

Check a PNG downloaded from Seedream 5.5 or exported from another image tool.
The checker reads one local file and reports how many pixels are transparent,
partially transparent, or opaque. All processing takes place on your device.

Installation
------------

The checker requires Python 3.9 or later and uses Pillow to read images.

.. code-block:: bash

   pip install seedream-5-5-png-checker

Basic Usage
-----------

Pass the path to the original download to get a JSON report:

.. code-block:: bash

   seedream-5-5-png-checker download.png

You can also call the checker from Python:

.. code-block:: python

   from seedream_5_5_png_checker import analyze

   report = analyze("download.png")
   print(report["transparent_pixels"])

Example Report
--------------

An illustrative one-row image could produce this report:

.. code-block:: json

   {
     "path": "download.png",
     "width": 3,
     "height": 1,
     "transparent_pixels": 1,
     "translucent_pixels": 1,
     "opaque_pixels": 1,
     "total_pixels": 3
   }

Features
--------

- Count fully transparent (alpha 0), partially transparent (alpha 1–254),
  and fully opaque (alpha 255) pixels.
- Read the image dimensions and report the counts as JSON.
- Inspect an export without changing the source file.

Transparent PNG Guide
---------------------

If every pixel is opaque, the file has no visible transparency. If the report
contains transparent pixels, check the location of those pixels against a dark
or brightly colored background. For guidance on checking edges and choosing
export settings, see the
`Seedream 5.5 transparent PNG guide <https://seedream55pro.com/blog/seedream-5-5-transparent-background>`_.

License
-------

MIT License. See the LICENSE file.
