News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu

what size should the pictures have for the Img2CPC? horizontal: 8,16,24,32,40 ..

Started by funkheld, 07:58, 23 July 20

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

funkheld


Hi good afternoon.

i want to develop sprites for cpctelera. the format should be bmp.
what color depth is suggested and what size should the images have for the Img2CPC?
horizontal: 8,16,24,32,40 .....

what color depth?


greeting


Norman

You can create sprites in any software and export it to e.g. PNG (other formats might work as well). The image size doesn't have to be a power of two or something, and the limit is the following:
Quote
(1B C ) widthSprite Width in bytes [1-63] (Beware, not in pixels!)
(1B B ) heightSprite Height in bytes (>0)
(from the CPCTelera docs)
Apart from that, have a look at the cfg/image_conversion.mk file in your CPCTelera project folder, there you'll find a detailed explanation of how Img2CPC works, what parameters it takes etc.

Cheers






Powered by SMFPacks Menu Editor Mod