Posted 23 October 2016 - 09:49 PM
Well, my internet went out so I don't have a full post, but I will be updating it.
HLTI is a format that I've been working on for a bit, and it is 100% a good idea! (not)
Remember the title? Remember how it mentioned Lua tables? Remember how it mentioned image format?
Yeah, do the math. What comes out? One giant file full of Lua tables.
This is currently VERY SLOW, and VERY UNOPTIMIZED! If your converting a image from paint to HLTI,
Another one
Converting from paint (Compressed to uncompressed, basically) (Don't mind the error)
How do I get this? Via pastebin, of course!
HLTIView (view images) pastebin get gyGhgsxM hltiview
HLTIPaint (convert paint to HLTI) pastebin get kDe9nFRf hltipaint
How do I incorporate this into my program(s)?
There is currently no API. I am working on one at the moment to make your lives easier. Technically there is one (look at the programs i've provided) but you need to get this working yourself.
But whenever I do release this, please just give credit and I won't complain.
Meet HLTI.
HLTI is a format that I've been working on for a bit, and it is 100% a good idea! (not)
Remember the title? Remember how it mentioned Lua tables? Remember how it mentioned image format?
Yeah, do the math. What comes out? One giant file full of Lua tables.
This is currently VERY SLOW, and VERY UNOPTIMIZED! If your converting a image from paint to HLTI,
- It takes a minute to convert from paint in an emulator :(/>
- It makes a 80 kilobyte file if you don't specify the width and height when your converting from paint (even more when your running it on a monitor, as without width and height it uses the screen width and height) And when I say big, I mean big.
- It has to do everything, ONE BY ONE! Every pixel in paint is 6 lines in a Lua table. Brackets and all (4 lines without counting brackets) So that means it just crawls through the conversion process. A lua table contains the X, Y, the Type (only color at the moment), and the Color which is under BackgroundColor.
Screenies
Rendering an imageAnother one
Converting from paint (Compressed to uncompressed, basically) (Don't mind the error)
How do I get this? Via pastebin, of course!
HLTIView (view images) pastebin get gyGhgsxM hltiview
HLTIPaint (convert paint to HLTI) pastebin get kDe9nFRf hltipaint
How do I incorporate this into my program(s)?
There is currently no API. I am working on one at the moment to make your lives easier. Technically there is one (look at the programs i've provided) but you need to get this working yourself.
But whenever I do release this, please just give credit and I won't complain.
Edited on 23 October 2016 - 08:14 PM