Portál AbcLinuxu, 12. prosince 2025 11:01
0A 05 01 01 00 00 00 00 11 02 69 01 2C 01 00 00Hlavička souboru, který aplikace NEčte vytváří nalezlé konvertory a GIMP
0A 05 01 08 00 00 00 00 73 01 3F 02 48 00 48 00Hlavička by měla mit tuto strukturu
typedef struct _PcxHeader
{
BYTE Identifier; /* PCX Id Number (Always 0x0A) */
BYTE Version; /* Version Number */
BYTE Encoding; /* Encoding Format */
BYTE BitsPerPixel; /* Bits per Pixel */
WORD XStart; /* Left of image */
WORD YStart; /* Top of Image */
WORD XEnd; /* Right of Image
WORD YEnd; /* Bottom of image */
WORD HorzRes; /* Horizontal Resolution */
WORD VertRes; /* Vertical Resolution */
BYTE Palette[48]; /* 16-Color EGA Palette */
BYTE Reserved1; /* Reserved (Always 0) */
BYTE NumBitPlanes; /* Number of Bit Planes */
WORD BytesPerLine; /* Bytes per Scan-line */
WORD PaletteType; /* Palette Type */
WORD HorzScreenSize; /* Horizontal Screen Size */
WORD VertScreenSize; /* Vertical Screen Size */
BYTE Reserved2[54]; /* Reserved (Always 0) */
} PCXHEAD;
Řešení dotazu:
zkus v menu gimpu máčknout image pak v submenu mode a přepnout z rgb na indexed a exportovat pcx :O :O
248320-astro16-3424760319873571706.PCX: PCX ver. 3.0 image data bounding box [0, 0] - [529, 361], 4 planes each of 1-bit colour, 300 x 300 dpi, RLE compressedTo asi budeš muset zjistit jak fungujou ty planes, pak zjistit jestli to jde i bez RLE, a pak to podle článku na Rootu odhadnout a napsat.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.