Serious Pony Discussion Forum
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 20, 2010, 08:55:30 PM

Login with username, password and session length
Search:     Advanced search
Children by the million sing for Alex Chilton
http://www.youtube.com/watch?v=sTSJYZyouek
837377 Posts in 20812 Topics by 21283 Members
Latest Member: LimeWarrior
* Home Help Search Login Register
+  Serious Pony Discussion Forum
|-+  QC Discussion
| |-+  QC Discussion
| | |-+  Files types
« previous next »
Pages: [1] Go Down Print
Author Topic: Files types  (Read 1389 times)
hartford
Notorious N.U.R.R.

Offline Offline

Posts: 6


« on: July 30, 2009, 10:12:36 PM »

Quote
The lightning effect in panel 4 looks a lot better as a jpeg but my archaic site code only loads PNG comics. Oh well. One more reason to overhaul it one of these days.

herp derp derp derp derp derp derp




« Last Edit: July 30, 2009, 10:27:22 PM by Trollstormur » Logged
GenericName
Two times three hundred plus a bandicoot
****
Offline Offline

Posts: 654


Noooooooo


WWW
« Reply #1 on: July 30, 2009, 10:18:42 PM »

If you look closely, he called his site archaic, not the file format. If I had to wager a guess, when making the site he thought PNG was a good idea originally, because it is 99% of the time. However, the archaic thing about it is that his site will not support showing this one strip as a jpeg, or (I'm guessing) a higher quality PNG. Although, perhaps you should take this anger elsewhere? I don't really think this is something to get so worked up about.
Logged

Sometimes I see a terrible post so I click and look back at every post that person has ever made. That is why I never have time to actually post things.
Trollstormur
Global Moderator
Born in a Nalgene bottle
*****
Offline Offline

Posts: 3252


Death To America


WWW
« Reply #2 on: July 30, 2009, 10:28:10 PM »

herp derp derp derp derp derp derp



Logged
bicostp
The German Chancellory building
***
Offline Offline

Posts: 485



WWW
« Reply #3 on: July 30, 2009, 11:31:17 PM »

Will lossless 24 bit .PNG work with the backend? Does it just look at file extensions?
Logged

the_cheese > the_salami + the_bologna
lunchmeat
Not quite a lurker

Offline Offline

Posts: 22


« Reply #4 on: July 31, 2009, 01:08:57 AM »

Will lossless 24 bit .PNG work with the backend? Does it just look at file extensions?

I don't see why it shouldn't. This site runs on PHP, so it's probably only checking extensions and MIME types - so no, file format details shouldn't make a difference.

Jeph, I beg you. Please don't use JPEGs for your artwork. Your art has gotten very nice to look at and I would love to enjoy it without compression artifacts.

PNG is capable of the same color depth as JPEG images. No reason to update the site code - keep on doin' what you're doin', man. Peace.
Logged
smartalco
Notorious N.U.R.R.

Offline Offline

Posts: 1


« Reply #5 on: July 31, 2009, 01:13:32 AM »

Oh please god don't switch to .jpg

Yes, I registered on these forums expressly for the purpose of telling you how horrible of an idea that is. (which should clue you in about just how horrible that idea is)
Logged
Jimor
Cthulhu f'tagn
****
Offline Offline

Posts: 530



WWW
« Reply #6 on: July 31, 2009, 01:26:38 AM »

Unless of course, the artist himself says that it would look better for THIS PARTICULAR COMIC.

Believe it or not, there are occasions when an inferior tool produces a superior result because it fails in a specific way that enhances the artistic effect, or does one specific thing better than an overall better tool.
Logged

The Butterfly Sorceress a fantasy serial novel (posting it here on QC forums now, link to other forum in first post)
Chapter 6, Part 2 added 11/12/09
zmeiat_joro
Curry sauce
***
Offline Offline

Posts: 270


« Reply #7 on: July 31, 2009, 02:52:15 AM »

So why not just convert that part of the comic to jpeg and then paste it back to the png?
Logged

I, for one, welcome the fragmentation of deeper levels of shared reality.
Jimor
Cthulhu f'tagn
****
Offline Offline

Posts: 530



WWW
« Reply #8 on: July 31, 2009, 03:10:01 AM »

That depends on what the issue is. If it's the artifacting you see in the comic now, it wouldn't do any good to paste a non-artifacting segment in that then gets compressed back to the artifacting version. If it's a different compression effect that happens to look cool, there's still no guarantee that it will survive the addition of the PNG compression. Somebody suggested a non-lossy PNG compression, which might work, I dunno.

Still, it's the people having kittens about converting ONE comic to .jpg as if it was going to destroy civilization as we know it that are just being ridiculous. The .jpg is the version Jeph prefers, END OF STORY.
Logged

The Butterfly Sorceress a fantasy serial novel (posting it here on QC forums now, link to other forum in first post)
Chapter 6, Part 2 added 11/12/09
bicostp
The German Chancellory building
***
Offline Offline

Posts: 485



WWW
« Reply #9 on: July 31, 2009, 09:45:42 AM »

As long as he uses a fairly high quality level of JPEG compression, rather than whatever MS Paint spits out, it shouldn't be too noticeable. Even the existing settings would look better if there was some dithering to imitate the gradients better (it's kind of obvious that there is none, hence the big bands of color on the lightning glow), however that might cause stray pixels to show up on solid colors without some manual pallet tweaking.

Copying the JPEG compressed version into an 8 bit .PNG would just add the JPEG artifacts on top of the fixed-pallet dithering.

EDIT: At 85% quality (below that you start seeing compression artifacts at 100% zoom), today's comic comes in at 410k. In PNG-24 (lossless), it's 419k.
« Last Edit: July 31, 2009, 09:52:29 AM by bicostp » Logged

the_cheese > the_salami + the_bologna
bhtooefr
Two times three hundred plus a bandicoot
****
Offline Offline

Posts: 659



« Reply #10 on: August 01, 2009, 08:33:30 PM »

Here's an idea...

If you've got a strip that needs the better color of a 24-bit PNG, use that, I doubt the backend would have trouble with that.

If you've got a panel that would, for whatever reason, look better with JPEG artifacts, save that panel only as a JPEG, and then copy and paste it back into a 24-bit PNG. Bam, JPEG artifacts on the panel you want them on, and none on the other panels.
Logged

Blodwyn is the Chessmaster
Random832
Furry furrier
**
Offline Offline

Posts: 179


« Reply #11 on: August 02, 2009, 11:32:18 PM »

Unless of course, the artist himself says that it would look better for THIS PARTICULAR COMIC.

Believe it or not, there are occasions when an inferior tool produces a superior result because it fails in a specific way that enhances the artistic effect, or does one specific thing better than an overall better tool.

Except it wouldn't. There is absolutely no conceivable way a JPEG can look "better than" a PNG because it is impossible to construct a JPEG that cannot be exactly duplicated as a PNG. The problem, for this comic even, is not PNG itself, it is the 8-bit palette-based aspect (using a png like a gif in other words). PNG itself is capable of so much more.
« Last Edit: August 02, 2009, 11:34:23 PM by Random832 » Logged
Zombiedude
totally sold out, like, 4000 posts ago
*****
Offline Offline

Posts: 5194


Stare into my eyes.


« Reply #12 on: August 02, 2009, 11:40:20 PM »

y'all are goddamn nerds.
Logged

Quote from: Inlander
That looks more like ROFCASRTAMYDHSWD.
That's an acronym for rolling on the floor crying at the sudden realisation that all my youthful dreams have slowly withered and died.
Jimor
Cthulhu f'tagn
****
Offline Offline

Posts: 530



WWW
« Reply #13 on: August 02, 2009, 11:44:22 PM »

Label accepted. I just didn't realize I was getting involved in some goddamn religious war. JPEGs must have must have attacked and pillaged some small third world nation in the past few years when I wasn't paying attention.
Logged

The Butterfly Sorceress a fantasy serial novel (posting it here on QC forums now, link to other forum in first post)
Chapter 6, Part 2 added 11/12/09
lunchmeat
Not quite a lurker

Offline Offline

Posts: 22


« Reply #14 on: August 04, 2009, 02:10:05 AM »

Label accepted. I just didn't realize I was getting involved in some goddamn religious war. JPEGs must have must have attacked and pillaged some small third world nation in the past few years when I wasn't paying attention.

Never get involved in arguments about file types on the internet, man. Nobody wins.
Logged
DoubleJ
Balloon animal serial killer
*
Offline Offline

Posts: 85


« Reply #15 on: August 04, 2009, 06:05:43 AM »

I don't get the ferocity behind it, but in general for Jeph's work JPEGs aren't a good option -- to avoid getting artifacts in the large blobs of color he'd have to lower the compression pretty far. As others have said, PNG-24 is probably the best option for the comic as a whole in this case, but the fact that doing so would basically triple his bandwidth requirements for the day was probably enough to make him not want to.

Maybe now that it's a few days old and in the archives, it might make sense to re-export?

Oh, and for people comparing JPEG to PNG-24: You have to re-export from the original to get any useful data. Otherwise you're trying to interpolate color into the gradients around Momo, and that's not necessarily going to give a realistic end result. I suppose if Jeph comes by he could give us the real numbers for this proposed experiment, but since he's already behind on his comicking duties for the day (see his Twitter) that's not too likely to happen.

Finally, for the "PNG is always better than JPEG" crowd, that depends entirely on requirements. Yes, a PNG-24 will compress any image you can come up with without losing any data. But for something like a photo your file is going to end up a great deal larger than a mostly-equivalent JPEG and in a photo you can easily get a compression level of 40% (meaning, move the slider to 60 in the "Save to Web" window in Photoshop) without introducing obvious artifacts. Since bandwidth is a concern for anybody hosting their own site, JPEG would be a far better choice in that case. So be careful with those absolutes.
Logged
Random832
Furry furrier
**
Offline Offline

Posts: 179


« Reply #16 on: August 04, 2009, 09:51:52 AM »

Finally, for the "PNG is always better than JPEG" crowd

That wasn't what I said. What I said was that it's impossible for (as another poster misinterpreted Jeph's words to mean) JPEG to be visually superior than a full-color PNG.

Anyway, it'd be interesting to see just how much bigger the comics actually are as PNG-24 - the dithering that's used currently makes the sizes bigger than they otherwise would be, and even with the dithering, saving the comics as-is as PNG-24 does not triple the size*, it only makes it about 50% larger.

*I suspect this belief comes from the fact that 24 is as much three eights (and that's terrible  cool ) - but with large areas of solid color that doesn't necessarily translate to what the compressed size will be.
« Last Edit: August 04, 2009, 09:55:33 AM by Random832 » Logged
pwhodges
William Gibson's Babydaddy
*****
Offline Offline

Posts: 2303


Change is good


WWW
« Reply #17 on: August 04, 2009, 10:09:31 AM »

This comic was over double the size when I converted it to 24-bit and saved it as PNG (192kB to 477kB).  It lost the palette, of course.

Also, it looks to me, from what I remember, as if Jeph has rewritten the image using dithering to get the gradient to look OK without going to JPG.
« Last Edit: August 04, 2009, 04:46:32 PM by pwhodges » Logged
DoubleJ
Balloon animal serial killer
*
Offline Offline

Posts: 85


« Reply #18 on: August 04, 2009, 03:44:10 PM »

@Pwhodges: Good catch. There's still a tiny bit of banding on the window, but the dithering does make things look better.

@Random832: I'll grant that I'm a couple versions of Photoshop behind, but between losing the palette (going from 8 to 24 bits per color) and the switch from blocks of color to gradients, my experience has been a rough triple. It would be interesting to see what the difference between the newer, dithered 8-bit version and a 24-bit version would be. I'd assume the two sizes would be closer.
Logged
pwhodges
William Gibson's Babydaddy
*****
Offline Offline

Posts: 2303


Change is good


WWW
« Reply #19 on: August 04, 2009, 05:07:44 PM »

I found a copy of the non-dithered image.  It's 161kB, and when saved 24-bit goes to 389kB.  The ratio is pretty similar.
Logged
Random832
Furry furrier
**
Offline Offline

Posts: 179


« Reply #20 on: August 04, 2009, 09:23:58 PM »

Not all PNG compressors are created equal. On Vista, I get 308kB - and, for the record, whatever Jeph's using gets it smaller than mine - I get 212kB instead of 192.

212 vs 308 is only a 45% increase, and that's not taking into account that there is some dithering present in the 8-bit version (zoom in and look for yourself)
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!