Login
Back to forumSee the full topicGo to last reply

Posted By

gerliczer
on 2012-08-09
01:42:52
 Graphics, luminance and colour

George,

Let's examine carefully the example you copied here. As I said earlier, first come the graphic data. You state it is 7 characters wide and 11 characters high. The first comment line shows 56*88 which is 8 times the width and 8 times the height you specified. Let's continue with the first block which consists of 7 lines of 8 bytes. One character area is 8 bytes and you have 56 of them which corresponds fairly well to one character line of 7 characters wide graphic data. If you continue your examination, you find that there are 11 such blocks which again corresponds quite well to the height of your picture. Now let's continue with the remaining blocks. There is two of them, containing 77 bytes each. This also corresponds to your 7*11 characters picture. If you start up Csabo's Gfx Edit you see the default colour settings being black and three shades of white, the 4th from the top, the 6th and the 8th. The colour code of white is 1 and the shade codes are 3, 5 and 7. Looking at your posted example we can see that you didn't change the local colours in too many places. Most of the first block contains $53 which corresponds to the luminances of default colour 1 and two, and similarly the second block looks to be the colour data with those $11s. I hope this will clear the picture, pun intended. happy


Csabo,

This save as source in the editor seems to miss exporting the two global colours while the save as program does it. (MULT[BYTE][BYTE] between the luminance and colour matrices vs. nothing)


P.S. It is a bit strange that George forgot the load-restart workaround trick that he was using in an example in the "Searchin' for a char editor..." topic.



Back to top


Copyright © Plus/4 World Team, 2001-2024