Thread: Color Quantizer (Edit PNG Sprites to maintain semi-transparency)

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 Color Quantizer (Edit PNG Sprites to maintain semi-transparency) 
    pride, love, happiness
    .alycia's Avatar
    Join Date
    Jun 2010
    Age
    28
    Posts
    4,106
    Thanks given
    1,714
    Thanks received
    2,062
    Rep Power
    5000
    So while working on concepts for a new UI for a project I've been working on, I ran into an issue with Jagex's sprite system not allowing me to pack sprites with more than 256 colors. The majority of people solve this by using photoshop to "save as web", which loses the semi-transparency on pixels that require it. To solve that, I did some digging on keeping 8 bit transparency but reducing the color palette to less than 256 colors, allowing me to keep the soft edges on the UI kit I was working with.

    Below is the tool download and example of what I mean. Just simply plug in your PNG-24 sprite, and you'll be able to convert your sprite into a color palette that'll work with the sprite system.


    Attached image






    Before (saving as web):

    Attached image






    After (using Color Quantizer):

    Attached image


    Download: http://x128.ho.ua/clicks/clicks.php?uri=cq0744.zip (original site: Color quantizer)

    Mirror: https://mega.nz/file/BkEGjA6b#-rNG8U...whysaR1aBjLrPI
    Last edited by .alycia; 11-30-2022 at 12:12 PM.
    Reply With Quote  
     


  2. #2  
    van 't stad

    Shnek's Avatar
    Join Date
    Oct 2013
    Posts
    1,065
    Thanks given
    343
    Thanks received
    297
    Rep Power
    109
    This is amazing, thank you!
    Attached image

    Do not use the vps from ovh, blocking vps without reason and no customer support
    Reply With Quote  
     

  3. #3  
    pride, love, happiness
    .alycia's Avatar
    Join Date
    Jun 2010
    Age
    28
    Posts
    4,106
    Thanks given
    1,714
    Thanks received
    2,062
    Rep Power
    5000
    Quote Originally Posted by Shnek View Post
    This is amazing, thank you!
    No problem! We should be able to see some cool new sprites now
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Feb 2014
    Posts
    429
    Thanks given
    5
    Thanks received
    3
    Rep Power
    173
    Nice! Will use

    Cheers
    Reply With Quote  
     

  5. #5  
    l e l w o t

    Box's Avatar
    Join Date
    Jan 2016
    Posts
    230
    Thanks given
    76
    Thanks received
    55
    Rep Power
    156
    Attached image
    Attached image
    What am I looking for?
    Reply With Quote  
     

  6. #6  
    pride, love, happiness
    .alycia's Avatar
    Join Date
    Jun 2010
    Age
    28
    Posts
    4,106
    Thanks given
    1,714
    Thanks received
    2,062
    Rep Power
    5000
    Quote Originally Posted by nerdKing View Post
    Attached image
    Attached image
    What am I looking for?
    Yeah my comparison wasn't the greatest (I had optimized the fuck out of the GIF/PNG-8 image at this point) but you can see it pretty clearly when looking at the edge (pictured below). The real use-case of this tool is to allow for semi-transparent pixels to be saved in a format that is acceptable with your sprite editor of choice, allowing for a broader range of sprites to work with.

    Also you can see that my soft-edges are saved in the circle, ever so slightly. I'll replace the comparisons when I can get back onto my laptop.



    Attached image
    Reply With Quote  
     

  7. #7  
    Registered Member
    Selseus's Avatar
    Join Date
    Aug 2017
    Posts
    386
    Thanks given
    11
    Thanks received
    73
    Rep Power
    84
    Hey, awesome release Chaflie! Looking forward to the things people will use this tool for
    Reply With Quote  
     

  8. #8  
    pride, love, happiness
    .alycia's Avatar
    Join Date
    Jun 2010
    Age
    28
    Posts
    4,106
    Thanks given
    1,714
    Thanks received
    2,062
    Rep Power
    5000
    Quote Originally Posted by Selseus View Post
    Hey, awesome release Chaflie! Looking forward to the things people will use this tool for
    Thanks pal! I wish I could pay the developer somehow for this tool, but it's been giving me the chance to do some pretty cool stuff.
    Reply With Quote  
     

  9. #9  
    *breaks walking*

    Cody_'s Avatar
    Join Date
    Dec 2010
    Posts
    732
    Thanks given
    219
    Thanks received
    203
    Rep Power
    286
    Good shit, bud.

    Good to see you're still working on rsps.
    Reply With Quote  
     

  10. #10  
    Founder off ExilePsGroup
    ExilePsCoding's Avatar
    Join Date
    Apr 2013
    Age
    29
    Posts
    121
    Thanks given
    3
    Thanks received
    8
    Rep Power
    8
    seems legit ;D
    Attached image
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. want to edit skill sprite
    By Storm Powner in forum Help
    Replies: 6
    Last Post: 05-19-2012, 01:52 PM
  2. 614 how to edit the sprites
    By truepk in forum Requests
    Replies: 2
    Last Post: 03-26-2011, 01:41 AM
  3. Editing any sprite
    By Yarnova in forum Tutorials
    Replies: 22
    Last Post: 10-30-2008, 11:11 PM
  4. Sprites to interfaces...
    By xX Chris Xx in forum Tutorials
    Replies: 2
    Last Post: 07-02-2008, 05:34 PM
  5. [HELP]Sprites to .Jag Files[HELP]
    By 4lch 2 B4rr4g3 in forum Graphics
    Replies: 3
    Last Post: 06-21-2008, 02:58 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •