Comments (10)
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.
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.
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.
Yes please fix, need alpha! Thanks!
Original comment by [email protected]
on 16 Feb 2011 at 5:39
from hqx.
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.
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.
[deleted comment]
from hqx.
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.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hqx.