Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>PSRTNew to Visual Studio Code? Get it now.
PSRT

PSRT

Diego Crispim

|
249 installs
| (0) | Free
Picture SRT
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Format \ *. Psrt

This is a caption for comics (manga) images. It was created to facilitate the translations of the comics

Pattern

All positions in the texts of the .psrt file are in percentages in relation to the image measurements >> <X>% -<Y>%- <Width>% -<TextSize>%

Pages


$ START <page-name> | <page-style> | <image-url>
    >> <X> - <Y> - <Width> - <TextSize> | <style-text> | index
    text 1!

    >> <X> - <Y> - <Width> - <TextSize> | <style-text> | index
    text 1!
$ END <page-name>

example: ! [alternative text] (https://raw.githubusercontent.com/Dcrispim/psrt-lang/master/assets/psrt_expample_1.png "Title")

Sources


$ FONTS
  <font-url-1>
  <font-url-2>
$ ENDFONTS

example: ! [alternative text] (assets/psrt_expample_2.png "Title")

Constants


$ START <page-name> | <page-style> | <const-name-1> 3.jpg
    >> <X> - <Y> - <Width> - <TextSize> | <style-text> | index
    text 1!

    >> <X> - <Y> - <Width> - <TextSize> | <style-text> | index
    text 1!
$ END <page-name>

$ CONSTS
  @ <const-name-1> | <const-value-1>
  @ <const-name-2> | <const-value-2>
$ ENDCONSTS

example: No constants No constants example

With constants constants example

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft