Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

Transparent JPEG images

Name: Anonymous 2011-10-30 0:19

Some retards say you cant do that and that JPEG sprites look awful.

But how about storing alpha channel inside of unused HSV ranges?

Name: Anonymous 2011-10-30 0:27

How about you check my dubs?

Name: Anonymous 2011-10-30 0:28

How about using PNGs which are not lossy.

Name: Anonymous 2011-10-30 0:31

>>3
PNG sucks at compression rate.
PNG sucks at decompression speed.
PNG just sucks.

Name: Anonymous 2011-10-30 0:35

Of course you can use single epsiloned color for alpha, but using a range will give antialiased edges.

Name: Anonymous 2011-10-30 0:35

>>4
Yet, it sucks less than JPEG.

Name: Anonymous 2011-10-30 0:37

Gamedev pros recommed JPEG for all new games, cuz PNG sucks:
http://www.fourdoorlemon.com/2011/05/28/sprite-compression/

Name: Anonymous 2011-10-30 0:39

>>7
Rather sacrifice space/memory/resources than sacrifice quality.

Name: Anonymous 2011-10-30 0:43

>>8
Quality is when you have four times more content.

Name: Anonymous 2011-10-30 0:43

you could even use one jpg and one png, the png holding the alpha channel

Name: Anonymous 2011-10-30 0:46

>>10
Why bother, when you can encode alpha channel inside of JPEG?

Russian developers do this for a long time already. Example:
http://www.wildtangent.com/Games/my-kingdom-for-the-princess-3

Name: Anonymous 2011-10-30 0:54

Here is how you create transparent JPEGs, using Firefox hacks:
http://jim.studt.net/jpeg-alpha/

Name: Anonymous 2011-10-30 0:54

>>11

oh, i'm just thinking of web apps, where it's kinda annoying to decode jpg with javascript

Name: Anonymous 2011-10-30 0:55

Why not fuck off and smell a hooker's anus, OP?

Name: Anonymous 2011-10-30 0:56

>>12

wow, awesome link. thanks anon.

Name: Anon 2011-10-30 14:33

PNG's are better than jpeg's. END OF STORY!!!

Name: Anonymous 2011-10-30 14:41

>>16
Then why everybody loves superior JPEG compression rate?

Name: Anonymous 2011-10-30 15:19

>>17
Probably they're poor and can't afford a decent hard drive.

Name: Anonymous 2011-10-30 15:28

>>18
http://www.turnkeylinux.org/blog/png-vs-jpg
Page load times are important. Amazon insiders estimate that every 100 ms increase in latency costs Amazon roughly %1 of profit. Our mistake was very simple: we used PNG for everything.

Name: Anonymous 2011-10-30 15:30

>>19
Never knew, Amazon.com is poor. We should donate money to these pitiful beggars.

Name: Anonymous 2011-10-30 15:54

>>20
We should give them a nickel so they can buy themselves a decent lossy image format, like WebP.

Name: Anonymous 2011-10-30 16:41

just use jpeg2000, there is no reason not to if you aren't dependent on a specific library.

Name: Anonymous 2011-10-30 17:41

>>22
Patents.

Name: Anon 2011-10-30 18:20

>>22 want a reason, jpeg2000 is under patent, you can't use for commercial purposes without paying. Why should I pay when I get same quality (or even better) with png for free?

Name: Anonymous 2011-10-30 18:31

I never understood the relevance for jp2k, right now there is no publicly known claim. And for the rest of the story:

By that measure you couldn't use any format which isn't widely used, also I've seen commercial software using it. You just need the balls to do it.

The same story was LCD optimized font rendering, once enough people stand up patent trolls can suck it.

Name: Anonymous 2011-10-30 19:22

`
>wants to have image with alpha
>decides that instead of using PNG he'll go with JPEG
>comes up with obscure idea to use Birth-acquired herpes to store Alpha values of image

>mfw
>mfw I have no face

>inb4 /polecat kebabs/

Name: Anonymous 2011-10-30 19:23

>>25
Do you have any details on that? From where I'm standing, the patents are still scaring my software into shipping with the patented code disabled.

Name: Anonymous 2011-10-30 19:50

>>19
Dude, who gives a shit about web development?

Name: Anonymous 2011-10-30 21:10

>>28
rm -f /usr/bin/firefox
do it, faggot.

Name: Anonymous 2011-10-30 21:18

Use PNG.  If you care about file size (you don't, you just think you do), then use images that compress better.  Reduce the number of colors, reduce the size and rescale, whatever.  Or, be an idiot and reinvent the wheel by adding alpha to JPG.  Sometimes it's good to go through the exercise just to confirm to yourself that you're a moron.

Name: Anonymous 2011-10-30 21:32

>>30
fuck you, faggot

Name: Anonymous 2011-10-30 21:32

>>30
As a user I hate downloading 1 gigabyte for a casual game. Especially because my ISP requires payment of $0.07 for every megabyte.

Name: Anonymous 2011-10-30 21:47

>>32
Especially because my ISP requires payment of $0.07 for every megabyte.
LOLOLOLOLOLOLOLOLLOLOLOLOLOLOLOLOLLOLOLOLOLOLOLOL

Name: Anonymous 2011-10-30 21:55

>>33
nice dubz bro

Name: Anonymous 2011-10-31 1:00

Write a program to process the sprite and generate a set of rectangular JPEG images for inner area and PNG images for contours and transparency. Present it on your page with *tables*.

Name: FrozenVoid 2011-10-31 9:34

>PNG or JPG, which is better for sprites
If you store sprites you should use gif, which is small,transparent,animated and has custom pallette

Name: Anonymous 2011-10-31 9:39

>>36`
>2011
>not using APNG

Name: Anonymous 2011-10-31 9:47

Use a PNG sprite sheet along with some metadata.

Name: Anonymous 2011-10-31 10:03

>>37
Go back to /g/.

Name: Anonymous 2011-10-31 10:29

>>39`
>implying you can convince me
>mfw you show us your autistic rage

laughinggirls.apng

Name: Anonymous 2011-10-31 10:40

>>40
Go back to /g/.

Name: Anonymous 2011-10-31 10:41

>>41
As clever as a feminist.

Name: Anonymous 2011-10-31 10:47

>>42
Go back to /g/.

Name: Anonymous 2011-10-31 10:48

>>43
And about as effective as well!

Name: Anonymous 2011-10-31 10:49

sorry meant noko

Name: Anonymous 2011-10-31 10:54

>>45
Go back to /g/.

Name: Anonymous 2011-10-31 15:16

>>45
Noko is for the image boards.
Suggest you go back there, now, ``faggot''

Name: Anonymous 2011-10-31 20:51

>>46,47
flaming fags

Name: FUCK U 2012-05-09 14:06

your all are fucking idiots......
PNG IS BETTER THAT FUCKING JPEG!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

JPEG IS BAD IMAGE!!!!!!!!!!!!!!!!!!!!!!!!! FUCKING DUMBASSES

Name: Anonymous 2012-05-09 17:54

>>49
they're there

Name: Anonymous 2012-05-09 18:23

PNG DISGUSTING!

Name: Anonymous 2012-05-09 18:49

>>40
Back to Reddit, please.

Don't change these.
Name: Email:
Entire Thread Thread List