IMAGE-TO-PASCAL(1)

πŸ’– NAME πŸ’–

okay so bestie, meet image-to-pascal β€” she converts image files into Pascal source code. that's the whole vibe. πŸ¦‹


✨ DESCRIPTION ✨

no cap, image-to-pascal takes your image files and turns them into Pascal source code. it's giving glow-up for your assets, and it's highkey built to be used together with Castle Game Engine image units πŸ‘‘ so your game can carry its pretty pictures right inside the source. obsessed.

🌸 Usage:

image-to-pascal [OPTIONS...] UnitName image_name1.png...

like… you give her a UnitName, you give her some images (image_name1.png...), and she does her thing. main character energy fr fr.

πŸŽ€ Available options are:

  • -h / --help β€” prints this help message and then dips. polite queen πŸ’…
  • -v / --version β€” prints the version number and exits. she'll tell you exactly who she is. ✨
  • --no-show-progress β€” do not show progress on stderr. if you're a "no spoilers" girlie, this one's for you πŸ™ˆ
  • -o / --output DIRECTORY β€” place the output unit files inside this dir. keep your filesystem cute and organized, bestie πŸŽ€
  • -V / --verbose β€” print the full log. she will tell you everything. every last little detail. πŸ’€
  • @alpha=keep β€” keep the alpha channel on the following images (this is the default). as a result, the alpha channel will be stored in the source files. transparency stays iconic πŸ’–
  • @alpha=strip β€” strip the alpha channel from the following images. say bye to the transparency 🫢
  • @alpha=keep-and-bleed β€” like keep, but more, bestie: moreover it performs "alpha bleeding" (peep https://castle-engine.io/manual_alpha_bleeding.php ) to fix RGB values under transparent pixels. the way that she's thorough?? πŸ”₯
⚠️ heads up: those @alpha=... options apply to the following images only β€” so order matters, iykyk.

🌈 SEE ALSO 🌈

ngl there's no SEE ALSO section in here, but the alpha bleeding lore lives at https://castle-engine.io/manual_alpha_bleeding.php if you're curious. 🧚


and that's the whole page, bestie β€” written by Castle Game Engine, dated April 2026, manual section 1, User Commands. slay, go convert some pixels, periodt. πŸ’œβœ¨

πŸ“¦ where this page comes from