Skip to content

Module: Image

Josh Powlison edited this page Dec 10, 2018 · 2 revisions

v1.0.0+

Setup

File Syntax

Image files have a mime type starting with "image". You can change the criteria for Image files by adjusting FILE_DATA_GET_MODULES in showpony/settings.php.

Subtitles

Subtitles can make it easy to quickly add new language support to your comic without saving out new files for every language. It can also make text more accessible for people with visual impairments.

Subtitles are in a vtt-like format but do still carry the vtt extension. If you find any features missing that you want, let me know!

Subtitles are given a top-left and bottom-right percentage-based coordinate (x1%,y1% --> x2%,y2%). and the lines of text below are put inside.

0,0 --> 30,20
So you thought it would be a good idea, huh?

40,0.5 --> 80.7,40.25
Well, I didn't see how it could hurt...
...at the time, anyway.

Setting these up can be annoying. Try using the included Photoshop- Build Subtitles.jsx file, it'll let you create subtitles from image layers in Photoshop, simplifying the process greatly.

Clone this wiki locally