Minichan

Topic: Admins: Only GIF, JPEG and PNG files are allowed. Can we please allow WebP?

Anonymous A started this discussion 15 years ago #5,013

WebP

Chrome, Firefox, and Opera all support it.

Should be easy to whitelist a file extension.

(Edited 3 minutes later.)

grg !5EknyWyR.k joined in and replied with this 15 years ago, 31 minutes later[^] [v] #88,601

I'm using FF 4.0 and I'm not getting WebP images...

http://code.google.com/speed/webp/gallery.html

Anonymous A (OP) replied with this 15 years ago, 53 minutes later, 1 hour after the original post[^] [v] #88,613

@previous (grg !5EknyWyR.k)
Try loading this image

r04r joined in and replied with this 15 years ago, 2 hours later, 4 hours after the original post[^] [v] #88,629

Never heard of it before. If you provide us with a way to thumbnail that in PHP (Actually reduce image size & file size, and preferably save the thumb as png), sure.

(Edited 2 minutes later.)

sim !!/URrIA3AX joined in and replied with this 15 years ago, 2 hours later, 6 hours after the original post[^] [v] #88,660

lolno

Anonymous E joined in and replied with this 15 years ago, 4 hours later, 11 hours after the original post[^] [v] #88,718

@previous (sim !!/URrIA3AX)

Nickalollyoff !Aw0s40dyqw joined in and replied with this 15 years ago, 28 minutes later, 11 hours after the original post[^] [v] #88,727

@88,660 (sim !!/URrIA3AX)

Anonymous A (OP) replied with this 15 years ago, 4 hours later, 16 hours after the original post[^] [v] #88,918

@88,629 (r04r)
Just allow the extension? It's just like any other image, it's just a new file type. Treat it like any other image on the site, no special PHP needed I think.

(Edited 1 minute later.)

Greenologist !pFNWNYROxA joined in and replied with this 15 years ago, 2 minutes later, 16 hours after the original post[^] [v] #88,921

?????

r04r replied with this 15 years ago, 1 hour later, 17 hours after the original post[^] [v] #88,959

@88,918 (A)
lolno, needs to be parsed & thumbnailed (Actually have its size reduced) to save bandwidth and loading speed on threads.

Anonymous A (OP) replied with this 15 years ago, 1 hour later, 18 hours after the original post[^] [v] #89,009

@previous (r04r)

And the function that parses, and changes the size of images doesn't work with WebP?

Anonymous A (OP) double-posted this 15 years ago, 3 minutes later, 19 hours after the original post[^] [v] #89,010

If you care about saving bandwidth, implement this and use the .jpg to WebP converter to convert all the images on the site!

Then you would save a lot of bandwidth!

(Edited 12 seconds later.)

brie !OudrPWaUDQ joined in and replied with this 15 years ago, 1 minute later, 19 hours after the original post[^] [v] #89,011

@89,009 (A)
imagemagick does work with Webp, but it requires some experimental add-on iirc.

But pretty much no, it wouldn't work without a whole lot of expended effort, and seeing as there are no benefits really, why bother?

Anonymous A (OP) replied with this 15 years ago, 18 minutes later, 19 hours after the original post[^] [v] #89,024

@previous (brie !OudrPWaUDQ)

It does have benefits, on average images are 39.8% smaller than .jpg's.

Anonymous B replied with this 15 years ago, 48 minutes later, 20 hours after the original post[^] [v] #89,074

@88,613 (A)
Nope. Not working. Wants me to download it.

Anonymous A (OP) replied with this 15 years ago, 38 minutes later, 20 hours after the original post[^] [v] #89,112

@previous (B)
Weird. I just tried it myself and got the same problem. Maybe it's a bug, but I've heard FF supports it. Maybe they plan to.

Chrome and Opera work fine tho, both tested.

protip !!pMmAiEwOm joined in and replied with this 15 years ago, 35 minutes later, 21 hours after the original post[^] [v] #89,163

gb2bitcoins, OP

Bitcoins !5qPJGR/JRI (OP) replied with this 15 years ago, 8 minutes later, 21 hours after the original post[^] [v] #89,180

@previous (protip !!pMmAiEwOm)
How'd you know?

Anonymous B replied with this 15 years ago, 5 minutes later, 21 hours after the original post[^] [v] #89,187

@89,112 (A)

From site:

> WebP is supported by a variety of tools. In addition, it is now natively supported in Google Chrome, the Google Chrome Frame plug-in for Internet Explorer and Opera 11.10.

No Firefox apparently.

And this confirms:

http://en.wikipedia.org/wiki/Comparison_of_layout_engines_%28graphics%29#Image_format_support

Fake anon !ZkUt8arUCU joined in and replied with this 15 years ago, 1 minute later, 21 hours after the original post[^] [v] #89,188

@89,180 (Bitcoins !5qPJGR/JRI)
Geolocation, I'd bet.

r04r replied with this 15 years ago, 5 hours later, 1 day after the original post[^] [v] #89,362

@89,009 (A)
No. Its specific to the filetype (gif, png, jpg) and the code provided on their site isnt PHP.

Come back in year when its more standard.

grg !!fERIbUB8u replied with this 15 years ago, 41 minutes later, 1 day after the original post[^] [v] #89,372

@previous (r04r)

> No. Its specific to the filetype (gif, png, jpg) and the code provided on their site isnt PHP.

Would you want to use interpreted code for that anyway?

Lynne B Goldstein joined in and replied with this 15 years ago, 3 hours later, 1 day after the original post[^] [v] #89,471

I support emerging technologies

r04r replied with this 15 years ago, 3 hours later, 1 day after the original post[^] [v] #89,555

@89,372 (grg !!fERIbUB8u)
Not really, no:P

Seeing as only one browser supports this, the verdict is: lolno

Anonymous A (OP) replied with this 15 years ago, 1 hour later, 1 day after the original post[^] [v] #89,580

@previous (r04r)
Chrome and Opera support it fine.

When Firefox gets its shit together that'll be three.

r04r replied with this 15 years ago, 6 hours later, 1 day after the original post[^] [v] #89,817

@previous (A)
Great. That's not the full market yet. Why do you give a fuck?

psychopath !PAHVpsycho joined in and replied with this 15 years ago, 15 minutes later, 1 day after the original post[^] [v] #89,834

Internet Explorer can go fuck off.

r04r replied with this 15 years ago, 3 minutes later, 1 day after the original post[^] [v] #89,840

@previous (psychopath !PAHVpsycho)
So can you

protip !!pMmAiEwOm joined in and replied with this 15 years ago, 7 hours later, 2 days after the original post[^] [v] #90,028

@89,180 (Bitcoins !5qPJGR/JRI)
Because you obsess over stupid shit.

Anonymous A (OP) replied with this 15 years ago, 7 hours later, 2 days after the original post[^] [v] #90,219

@previous (protip !!pMmAiEwOm)
I think, in fact, you are a member of the new Secret Police and abusing your geolocation ability.

They are handing those out like popcorn.

r04r replied with this 15 years ago, 8 minutes later, 2 days after the original post[^] [v] #90,229

@previous (A)
Good job not reading. The new moderator positions can't access profiles (Posting history) or IP information.

Anonymous A (OP) replied with this 15 years ago, 51 minutes later, 2 days after the original post[^] [v] #90,247

@previous (r04r)
inb4 gulags.

r04r replied with this 15 years ago, 4 minutes later, 2 days after the original post[^] [v] #90,248

@previous (A)
k
:

Please familiarise yourself with the rules and markup syntax before posting.