Thursday, 20 November 2008
Home
Forum
Main Menu
Home
News
Forum
Documentation
Download
Links
Administrator
Login Form
Welcome,
Guest
. Please
login
or
register
.
November 20, 2008, 10:06:56 AM
Username:
Password:
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Forgot your password?
Making images with more than the original 256 colors!
DSLua Community
Welcome,
Guest
. Please
login
or
register
.
November 20, 2008, 10:06:56 AM
1723
Posts in
315
Topics by
5673
Members
Latest Member:
RooneCozy
Home
Help
Search
Login
Register
DSLua Community
|
DSLua - Best scripting language for Nintendo DS
|
Examples/Tutorials
|
Making images with more than the original 256 colors!
« previous
next »
Pages:
[
1
]
Print
Author
Topic: Making images with more than the original 256 colors! (Read 1919 times)
daltonlaffs
Waxing Gibbous
Posts: 340
Freaking Insane
Making images with more than the original 256 colors!
«
on:
March 06, 2007, 07:57:12 AM »
Hey all,
I accidentally made a super-weird discovery in DSLua!
If you have an image (I use PNGs) with 256 colors USED or less, convert it to a GIF (it should convert perfectly) then convert the GIF to a 256 color BMP. The GIF colormap will override the BMP colormap. The result? An exact duplicate of your original .PNG!
Logged
Code:
-- Bored? Read code line below.
-- Bored? Read code line above.
^^ That works, I SWEAR! ^^
Jeremysr
Waxing Gibbous
Posts: 254
Re: Making images with more than the original 256 colors!
«
Reply #1 on:
March 06, 2007, 01:42:09 PM »
I think it probably just edits the palette, replacing the unused colours with the ones used in the PNG.
I use mtPaint now (
http://mtpaint.sourceforge.net/
) which is good because it has the 256-colour palette on the left at all times which you can pick colours from, and you can edit the palette too. Whereas MSpaint only uses a certain palette with only a few shades of each colour.
Logged
jester
First Quarter
Posts: 123
Jester Corp DS Logo
Re: Making images with more than the original 256 colors!
«
Reply #2 on:
March 12, 2007, 08:27:04 AM »
Whats next for art and images on DSLua? full bmp support or something?
Logged
CURRENT PROJECT:
JesterCorp DS- 2D FIGHTING GAME!!! Due out August 19th 2007!!!Having Sprite Issues but Toast is helping me ALOT
sylus101
Waxing Crescent
Posts: 74
Re: Making images with more than the original 256 colors!
«
Reply #3 on:
March 12, 2007, 01:33:09 PM »
Hey dalton, what editor are you saving the png as gif and not losing quality? I use MSPaint (too poor to get photoshop) and it didn't work too well.
Tried mtpaint, but it couldn't save as gif...
Logged
daltonlaffs
Waxing Gibbous
Posts: 340
Freaking Insane
Re: Making images with more than the original 256 colors!
«
Reply #4 on:
March 12, 2007, 03:55:11 PM »
...I just used paint. The original PNG has to have less than 257 colors.
Logged
Code:
-- Bored? Read code line below.
-- Bored? Read code line above.
^^ That works, I SWEAR! ^^
sylus101
Waxing Crescent
Posts: 74
Re: Making images with more than the original 256 colors!
«
Reply #5 on:
March 13, 2007, 01:30:32 AM »
I took a screen shot from the Final Fantasy 5 knight version of the main character. By looks of things, there isn't more than 256 colors used. I saved as PNG then as GIF using Paint. Here's the result:
What might I be doing wrong?
Logged
daltonlaffs
Waxing Gibbous
Posts: 340
Freaking Insane
Re: Making images with more than the original 256 colors!
«
Reply #6 on:
March 13, 2007, 04:28:36 PM »
Hmm... are you using XP or 2000 or other? I use XP. Try a direct conversion, PNG --> 256 BMP.
Logged
Code:
-- Bored? Read code line below.
-- Bored? Read code line above.
^^ That works, I SWEAR! ^^
sylus101
Waxing Crescent
Posts: 74
Re: Making images with more than the original 256 colors!
«
Reply #7 on:
March 14, 2007, 12:15:47 AM »
XP Pro...
From PNG to 256 BMP is okay, just seems lighter and the colors adjusted slightly (I'm guessing to fit palette). 24bit BMP to 256 BMP acted the same.
Ah well, it's no biggie, the 256 colors will get the job done.
Logged
jester
First Quarter
Posts: 123
Jester Corp DS Logo
Re: Making images with more than the original 256 colors!
«
Reply #8 on:
March 17, 2007, 03:34:26 PM »
well i have i file that is a GIF file do i :
GIF - 24 Bit BMP - PNG - 256 colour?
Logged
CURRENT PROJECT:
JesterCorp DS- 2D FIGHTING GAME!!! Due out August 19th 2007!!!Having Sprite Issues but Toast is helping me ALOT
Pages:
[
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
DSLua - Best scripting language for Nintendo DS
-----------------------------
=> News and Announcements
=> Examples/Tutorials
=> Home-brew/Hacks/Games/Projects
=> Hardware and Equipments
=> Need Help?
=> Bugs & Suggestions
-----------------------------
General DS Programming Chats
-----------------------------
=> Code Hashing
=> Chat Room
=> Test Area
Powered by SMF 1.1 RC2
|
SMF © 2001-2005, Lewis Media
(C) 2008 DSLua
DSLua - Best scripting language for Nintendo DS home-brew!