Opened 5 years ago
Last modified 3 years ago
#85 accepted enhancement
Integration of G9B graphics format (MSX V9990)
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | trivial | Milestone: | 2.9 |
Component: | GrafX2 | Version: | 2.6 |
Keywords: | Cc: |
Description
Hello together,
it is just a request if it is possible to integrate the G9B graphics Format into Grafx2.
The Format is used by many MSX(2) Computers which uses the V9990 graphic Card, maybe later also by the AMSTRAD CPC Computer?
What do you think?
Kind regards,
Jens
There's a link to it:
http://www.teambomba.net/gfx9klib.html
The file Format is completly documented:
e.g.:
A G9B file consist of the following fields:
[HEADER]
g9bID DB "G9B" ; g9b identifier string
headerSize DW 11 ; Length of the G9B_HEADER part.
Length can change in updated versions.
[G9B_HEADER]
bitDepth DB 8 ; 2,4,8 or 16 bit
colorType DB 0 ; 0=64 color palette mode,
; 64=256 color fixed,
; 128=YJK,
; 192=YUV mode
nrColors DB 64 ; Number of colors in palette mode
width DW 512 ; Width
height DW 424 ; Height
compression DB 1 ; 0 = no compression,
; 1 = bitbuster compression,
; other value = future expansions
dataSize DS 3 ; 24 bit data size
[PALETTE_DATA]
palette DS nrColors*3 ; If the number of colors is zero then this field does not exist
[BITMAP_DATA]
data DS dataSize ; The bitmap data, this can either be raw data or bitbuster data
NOTE: Values used are example values.
Change History (7)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
G9B is available since recoil 4.3.0 : http://recoil.sourceforge.net/news.html
comment:3 by , 5 years ago
Owner: | changed from | to
---|---|
Status: | new → accepted |
Yeah, thanks for the link to recoil. It would be great to a saving to be added (sometime). I think (hope) that the powergraph card for the CPC will have a greater acceptance if there will tools for creating grafix for it.
Cheers.
comment:5 by , 4 years ago
GrafX2 is a 256 colors paint program. most of the modes suported by V9990 / G9B are truecolor.
I don't think that matches
comment:6 by , 4 years ago
Milestone: | 2.7 → 2.8 |
---|
comment:7 by , 3 years ago
Milestone: | 2.8 → 2.9 |
---|
Loading these files should already be handled thanks to the recoil library. Saving may be added, if there is demand for it.