Skip to content

FansubID/png2ass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

PNG2ASS

Installation

Install pypng: pip3 install pypng

How to use it?

python3 png2ass.py picture.png --start-time 0:00:10.00 --with-ass-header --text-prefix "{\fad(500,500)}" > nekopoi.ass

Options

--layer: the layer of this picture (0 by default)
--start-time: the beginning time of the displaying png (for eg 0:00:10.00)
--end-time: the ending time of the displaying png (for eg 0:00:20.00 - 1hour by default)
--pos: the position of the png, by default "0,0"
--text-prefix
--text-suffix
--with-ass-header