Grid Sage Forums

Grid Sage Forums

  • April 23, 2024, 08:05:56 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

LINKS: Website | Steam | Wiki

Author Topic: Yet another tool to convert pngs to xp  (Read 1134 times)

gumix

  • Cyborg
  • ***
  • Posts: 134
    • View Profile
Yet another tool to convert pngs to xp
« on: December 08, 2022, 09:50:05 AM »

I made it specifically for use of CP_437's half blocks and 25,50,75 dither glyphs.

It's open source, currently palette is hard-coded (but can be changed then recompiled)
https://github.com/msokalski/asciicker/tree/pre-y9/png2xp

Sample input 40x40 px .png (scaled up here to match size of re-exported to png resulting xp)
And the output 20x20 cells .xp using ANSI 16C

Have fun!
« Last Edit: December 08, 2022, 09:51:55 AM by gumix »
Logged

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4304
    • View Profile
    • Cogmind
Re: Yet another tool to convert pngs to xp
« Reply #1 on: December 09, 2022, 07:54:48 PM »

Ooh nice, another to add to the resources page, this one definitely a unique take on the converters :)
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon