02-07-2025, 10:40 PM
i'm here to report that i have been using your program to check how i'm doing with my "ans" suffix files. cannot rely on ansilove nor on moebius for it. there is one file i cannot edit in moebius because it's totally screwed up. even though ansiprint displays it correctly. although with the wrong colors but that's at my end. this is a file that only has the space and the solid block chr$(219), and otherwise ansi escapes to change colors.
i have to confess i created a "draft" of the "ans" file in mtpaint. imported the palette from "16colo-dot-rs" for the image, and exported to ascii text. then took that text file as input for a qb64 program that creates the "ans" file. i'm sure i know what i'm doing.
i have to do it that way because i attempted to write a program that reads attributes from a 16-color "png" file. i have to use 257 as second value for _loadimage because otherwise this method is totally unpredictable. i have a file in which the black background color is improperly picked up as attribute 1 for some reason. then i create another "png" file with the same palette as the other one. i get the correct attribute 0 for black background from that one.
your program goes along with "xterm" on linux. but i don't know how to get "xterm" to switch to "cp437" text encoding so it could display solid blocks.
i have to confess i created a "draft" of the "ans" file in mtpaint. imported the palette from "16colo-dot-rs" for the image, and exported to ascii text. then took that text file as input for a qb64 program that creates the "ans" file. i'm sure i know what i'm doing.
i have to do it that way because i attempted to write a program that reads attributes from a 16-color "png" file. i have to use 257 as second value for _loadimage because otherwise this method is totally unpredictable. i have a file in which the black background color is improperly picked up as attribute 1 for some reason. then i create another "png" file with the same palette as the other one. i get the correct attribute 0 for black background from that one.
your program goes along with "xterm" on linux. but i don't know how to get "xterm" to switch to "cp437" text encoding so it could display solid blocks.