Skip to content

Proper Transparency detection and faster processing #88

@Notenlish

Description

@Notenlish
  • Detect file extension. There are a couple of options:
    • It could be an image, if so check if image extension has transparency
    • It could be a GIF, assume it has transparency and use png.
    • It could be a video, if its a video do these:
      • ffprobe -v error -select_streams v:0 -show_entries stream=pix_fmt -of csv=p=0 [input_file]
      • If it has alpha data, use png
      • If it doesnt, use jpg
      • ffprobe should only be ran if the cache was not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions