Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
converting 24 bit - 256 color tileset

 
Post new topic   Reply to topic Printable version
 View previous topic  Gfx And Sfx Artists Needed! Post :: Post Does anyone have these?  View next topic  
Author Message
AcidBomber
Newbie


Age:35
Gender:Gender:Male
Joined: Dec 21 2004
Posts: 4
Location: Ontario, Canada
Offline

PostPosted: Tue Jul 11, 2006 12:22 am    Post subject: converting 24 bit - 256 color tileset Reply to topic Reply with quote

Anyone know how?

I tried it with Paint but the colours got distorted. icon_confused.gif

Thanksss
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Tue Jul 11, 2006 12:40 am    Post subject: Reply to topic Reply with quote

That's the only way... Save As -> 256 Color image. icon_sad.gif
Back to top
View users profile Send private message Add User to Ignore List
SuSE
Me measures good


Joined: Dec 02 2002
Posts: 2307
Offline

PostPosted: Tue Jul 11, 2006 1:34 am    Post subject: Reply to topic Reply with quote

In decent graphic editors, you should be able to dither in various ways when you convert to indexed.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Assassin2684
Server Help Squatter


Age:34
Gender:Not sure
Joined: Jul 27 2004
Posts: 990
Location: Florida
Offline

PostPosted: Tue Jul 11, 2006 9:12 am    Post subject: Reply to topic Reply with quote

Try to get The GIMP or Photoshop.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
AcidBomber
Newbie


Age:35
Gender:Gender:Male
Joined: Dec 21 2004
Posts: 4
Location: Ontario, Canada
Offline

PostPosted: Tue Jul 11, 2006 4:01 pm    Post subject: Reply to topic Reply with quote

actually i use Photoshop Element and I cant seem to find the converting to 256 function... anyone use the same version and can help?

Thanks! icon_biggrin.gif
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Tue Jul 11, 2006 4:30 pm    Post subject: Reply to topic Reply with quote

When you convert something from 24-bit to 256 colors, you will obviously lose some detail.

Why are you going to other programs to do the same thing? icon_wink.gif
Back to top
View users profile Send private message Add User to Ignore List
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Tue Jul 11, 2006 5:35 pm    Post subject: Reply to topic Reply with quote

Because MS Paint does a poor job of converting it.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
AcidBomber
Newbie


Age:35
Gender:Gender:Male
Joined: Dec 21 2004
Posts: 4
Location: Ontario, Canada
Offline

PostPosted: Tue Jul 11, 2006 11:15 pm    Post subject: Reply to topic Reply with quote

alrighty! i got it! thanks icon_cool.gif
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Tue Jul 11, 2006 11:35 pm    Post subject: Reply to topic Reply with quote

Smong wrote:
Because MS Paint does a poor job of converting it.


So do other programs make a better 256 color version? sa_tongue.gif
Back to top
View users profile Send private message Add User to Ignore List
Muskrat
Server Help Squatter


Age:38
Joined: Aug 24 2004
Posts: 829
Location: Swamp
Offline

PostPosted: Wed Jul 12, 2006 1:08 am    Post subject: Reply to topic Reply with quote

Scroll back up and read Suse's post.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Wed Jul 12, 2006 1:10 am    Post subject: Reply to topic Reply with quote

I don't understand such grammar. icon_sad.gif
Back to top
View users profile Send private message Add User to Ignore List
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Wed Jul 12, 2006 2:50 am    Post subject: Reply to topic Reply with quote

It's all on Wikipedia:

Wikipedia:Color_depth wrote:
With relatively low color depth, the stored value is typically an index into a color map or palette. The colors available in the palette itself may be fixed by the hardware or modifiable. Modifiable palettes are sometimes referred to as pseudocolor palettes.
...
8-bit color (28 = 256 colors) VGA at low resolution, Super VGA, AGA


Wikipedia:Color_depth wrote:
24-bit Truecolor uses 8 bits to represent red, 8 bits to represent blue, and 8 bits to represent green. 28 = 256 levels of each of these three colors can therefore be combined to give a total of 16,777,216 mixed colors (256 x 256 x 256). Twenty-four-bit color is referred to as "millions of colors" on Macintosh systems.


What the conversion from 24-bit images to 8-bit images means is that there's less space to store color data.
This means the image being converted has to be dithered, because not all colors can be stored in the 8-bit image.

Wikipedia:Dither wrote:
Another useful application of dithering is for situations in which the graphic file format is the limiting factor. In particular, the commonly-used GIF format is restricted to the use of 256 or fewer colors. Images in other file formats, such as PNG, may also have such a restriction imposed on them for the sake of a reduction in file size. Images such as these have a fixed color palette defining all the colors that the image may use. For such situations, graphical editing software may be responsible for dithering images prior to saving them in such restrictive formats.


Wikipedia:Dither wrote:
Dithering is a technique used in computer graphics to create the illusion of color depth in images with a limited color palette (color quantization). In a dithered image, colors not available in the palette are approximated by a diffusion of colored pixels from within the available palette. The human eye perceives the diffusion as a mixture of the colors within it (see color vision).


So, dither: Creating the illusion of new colors and shades by varying the pattern of dots.

There are several ways to dither an image, well, several algorithms...
Wikipedia:Dither wrote:
Dithering algorithms
There are several algorithms designed to perform dithering. One of the earliest, and still one of the most popular, is the Floyd-Steinberg dithering algorithm, developed in 1975. One of the strengths of this algorithm is that it minimizes visual artifacts through an error-diffusion process; the Floyd-Steinberg algorithm typically produces images that more closely represent the original than simpler dithering algorithms.

Other dithering methods include:

Average dithering: one of the simplest dithering techniques, based on selecting an average tone and choosing pixel colors based on how close they are to the average
Ordered dithering: produces a cross-hatch dithering pattern similar to the halftones used by print newspapers
Random dithering: introduces a random element to each pixel, resulting in a staticky image
Albie dithering: a method similar to Floyd-Steinberg, but optimized for display on interlaced monitors


You should be able to pick a dither algorithm based on what kind of result you want.
This is what Suse means. I don't know what MS Paint uses to dither images, but, well, according to Smong the algorithm it uses sucks. sa_tongue.gif
Back to top
View users profile Send private message Add User to Ignore List
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Wed Jul 12, 2006 3:00 am    Post subject: Reply to topic Reply with quote

...Thanks. icon_lol.gif
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> LVZ/LVL Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 221 page(s) served in previous 5 minutes.

phpBB Created this page in 0.455951 seconds : 37 queries executed (91.0%): GZIP compression disabled