Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #31752

Image.paste with images with different palettes...

Date 2012-10-19 17:42 +0200
From Tracubik <affdfsdfdsfsd@b.com>
Newsgroups comp.lang.python
Subject Image.paste with images with different palettes...
Message-ID <508174d4$0$13271$4fafbaef@reader2.news.tin.it> (permalink)
Organization TIN.IT (http://www.tin.it)

Show all headers | View raw


Hi all!
I'm trying to create a map generator for c64's games

it's a simple script and it work properly, but i've problem if i try to 
modify images before creating the map.

what i do is:
- take a 8 bit screenshoot with VICE emulator in gif or bmp format
- open shutter (screenshoot edit tool under linux) to modify the 
screenshoot (i.e. insert note of sensible part of the screenshoot)
- save the modified screenshot
saving the screenshoot modify the palette of the 8 bit image
every modified screenshoot have different palette
trying to paste the modified screenshots in a new image (Image.paste) 
result in a map with wrong colors.

Converting all in RGB solve a bit but result in a "grainy" image

any hints?
maybe using GIMP and setting it properly could help, but shutter have a 
so nice arrow tools...

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Image.paste with images with different palettes... Tracubik <affdfsdfdsfsd@b.com> - 2012-10-19 17:42 +0200

csiph-web