| |
Trap
Registered: Jul 2010 Posts: 223 |
Convert unrestricted to singlecolor bitmap
Hi,
I have a singlecolor bitmap in 544x12 (it's a charset) in Timanthes. The layer is of type 'unrestricted single pixel' and I cannot figure out how to convert it to singlecolor bitmap. When I try to do it in Timanthes it corrupts the image (2/3's of the picture is filled with black). I have tried to create a new picture and copy'n'paste - same result.
God, this is the last time I will ever use Timanthes - the few bugs in it makes it completely unusable :( What's the alternative?
Please help me ... I'm sooooo close to release ;)
/Trap |
|
| |
Trap
Registered: Jul 2010 Posts: 223 |
Thinking ... maybe there is a way to import the native Timanthes format directly in Kickass??? |
| |
Mermaid
Registered: Jan 2002 Posts: 338 |
544x12? Hm, I've always used 320x200, would Timanthes even let you save a singlecolour bitmap that's not 320x200 as a c64 file?
You've filled the background layer with a colour, and you don't have any transparent pixels in your singlecolour bitmap layer? |
| |
Trap
Registered: Jul 2010 Posts: 223 |
Maybe I'm asking for too much in Timanthes ... I'll try to move things around and fit it in a 320x200 bitmap. Then I'll get back here and tell you what I learned :) |
| |
soci
Registered: Sep 2003 Posts: 480 |
Quoting TrapWhen I try to do it in Timanthes it corrupts the image (2/3's of the picture is filled with black)
Lame solutions:
* create a 3x size picture which has enough unused space for the corruption
* create two more pictures with content shifted to the non-corrupted area, then merge the 3 results
It's not a bug, it's a challenge ;) |
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
copy it into a "normal" paint prog and rearrange. print screen / recrop should work in any case. |
| |
Slammer
Registered: Feb 2004 Posts: 416 |
I don't know if there is anything special about 'unrestricted' singlecolor bitmap, but if its just 2 colors you could make a screen-dump to a png or gif file, and import it with standard KickAssembler script.
Basically, you can get a byte from a picture by writing picture.getSinglecolorByte(xpos,ypos)
There is an old example on how to import a 2x2 charset in the release zip-file. The sourcefile is an gif in 1024 × 30 resolution. No need to rearrange :-) |
| |
Carrion
Registered: Feb 2009 Posts: 317 |
Trap
Send it to me. I'll help you. You know my email. |
| |
Endurion
Registered: Mar 2007 Posts: 73 |
C64Studio. Create New Graphic Screen, Import Image (Paste is enough), check for errors in the Import dialog, once that's OKed it asks if it should resize the canvas to the image size.
From there you can convert to charset or other formats. |
| |
Burglar
Registered: Dec 2004 Posts: 1101 |
what Slammer said, check http://codebase64.org/doku.php?id=base:kick_assembler_macros for examples.
dont think about the editor, just use an exported png or bmp and go from there. |