Quote:
is there anything I can do to get better results.
|
Try converting the colors of the picture to OCS color values before loading and displaying it.
When I make OCS graphics on the PC and convert them to OCS IFFs, I always have to convert the colors to OCS colors first, or else the colors will be wrong.
I don't know if it helps, but to convert a Windows RGB color ( value range 0-255 ) to an OCS color ( value range 0-15 ), you should divide the RGB value with the number 17, and then round up the result to the closest OCS value (0-15).
So for example 255 / 17 would be 15.
But 240 / 17 would be 14.117 so it has to rounded up to 14.
The easier way would be to draw OCS images by using the directly corresponding RGB values, so that no conversion is required after the image is ready.
Here is a chart for the OCS values and their corresponding RGB value:
OCS Value --- RGB Value
0 --- 0
1 --- 17
2 --- 34
3 --- 51
4 --- 68
5 --- 85
6 --- 102
7 --- 119
8 --- 136
9 --- 153
10 --- 170
11 --- 187
12 --- 204
13 --- 221
14 --- 238
15 --- 255
This works for me, but I create all my gfx on PC, so I don't know how things work if you're doing an AGA --> OCS conversion in Amiga DPaint for example.