Code Monkey home page Code Monkey logo

Comments (10)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
sorry, I attached the first icon in my folder without thinking. I'm not angry 
:D, attached below is another more neutral one :)

Original comment by [email protected] on 29 Oct 2010 at 2:44

Attachments:

from hqx.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
Looks like the code for hqx drops the alpha bit because of RGBtoYUV conversion. 
(hqx.c)

Original comment by [email protected] on 27 Nov 2010 at 4:42

from hqx.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
Any chance this will be fixed in the future? I need my sprite's border to 
antialias against a transparent background and not some arbitrary color. So 
preserving the alpha channel is important for me...

Original comment by [email protected] on 21 Jan 2011 at 7:58

from hqx.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
Yes please fix, need alpha! Thanks!

Original comment by [email protected] on 16 Feb 2011 at 5:39

from hqx.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
I added transparency handling to this code. It works for me (Debian x64), 
though I didn't test it very much. You can download the source code here: 
http://bitbucket.org/Mytskine/hqx/downloads

@comment 1: your smiley has no transparency! But I stilled used it for my tests 
after using Gimp to turn white into alpha.

@comment 2: Here there's no "alpha bit", but an alpha byte (8 bits). And the 
RGBtoYUV conversion isn't the only problem, so the main changes where not in 
"hqx.c".

Original comment by mytskine on 20 Feb 2011 at 11:36

from hqx.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
Thank you! After some hacking I got it working on windows using MSVC2010.

Original comment by [email protected] on 24 Feb 2011 at 11:13

from hqx.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
[deleted comment]

from hqx.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
For the people (like me) who have a result that is blocky at the borders, the 
alpha channel alone is not enough. Also color the R, G and B channels 
appropriately to get a nice border.

Original comment by [email protected] on 25 Apr 2011 at 7:38

from hqx.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
Yes I would love to support alpha. @mytskine can you supply me with a patch of 
the changes you have made?

Original comment by [email protected] on 1 Dec 2011 at 11:05

from hqx.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
Integrated changes by mytskine

Original comment by [email protected] on 5 Dec 2011 at 6:05

  • Changed state: Fixed

from hqx.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.