Tag: web

  • JPEG, JPEGXL, WEBP, AVIF Comparison Test

    With Google just announcing it would be releasing full support for JPEGXL in Chrome version 155, I thought I’d give JPEGXL a try. Here are the results compressing a 16-bit 24 megapixel JPEG. The original is an 8-bit JPEG from a Nikon D3200. Original image dimensions is 6016 x 4000 pixels. AI enhanced to 9024 x 6000 pixels. To judge the image quality fairly, I tried to keep the target sizes roughly the same.

    WARNING: These are HUGE FILES. So may take a while to download or choke your Internet browsing experience. Hold tight.

     


    The test image is from an 8-bit JPEG from a Nikon D3200 that was converted to 16-bit, then AI enhanced (sharpened and upscaled). Filesize: 52.2MB

     


    Converted to JPEGXL format via ImageMagick. Note JPEGXL retains the 16-bit color depth. Settings used was effort = 9 and distance = 3. Filesize: 2.62MB

     


    Converted to WEBP format via FFmpeg. Note WEBP reverted back to 8-bit color. Settings used was quality = 50. Filesize: 2.29MB

     


    Converted to AVIF format via FFmpeg. Note AVIF supports max of 12-bit color. Default settings. Filesize: 2.79MB

     

    I dunno bout you, but the results are AMAZING. JPEGXL looks vastly superior over WEBP at around the same filesize. The only problem is it isn’t supported universally and not on older Android systems. You can install the JPEGXL codec for free through Microsoft Store for Windows 10 and 11, but viewing it in Windows Photos app is still clunky. Even on a relatively modern powerful machine, it takes a few seconds to decompress/decode before you see the first pixels. Womp womp. It does load relatively fast in Google Chrome though on a live page.

    But if you’re a web designer worth your salt and have done the benchmarks, you’ll know the best format for general images meant for web viewing is still JPEG. But if you must post a higher resolution image, WEBP is the next best because it decodes faster than AVIF and has the most support of the next-gen web image formats. AVIF quality might be better than WEBP, but very slow to decode and power hog. JPEGXL most superior quality, fast to decode, but no universal support. Thems the beans, folks.

  • Windows 7 + Vista Internet Router Disconnects Crash Solution

    After many, many failed attempts to fix our home Internet network, I believe I have found the solution. (more…)

  • Efficient Web Browser Rendering

    With the impending “official” release of HTML5 and CSS3 coming up, I’m wondering if all the fancy new features actually make the web-browsing experience better (or even faster). (more…)

  • Custom Font Javascript + CSS Implementation

    Copyright © 2011 By Chongchen Saelee

    There’s only a handful of “websafe” fonts, a collection of fonts that any Internet user’s computer will most likely already have preloaded whether with their operating system or Internet browser. So when a webpage designer is feeling limited with his font selection, he either has to rasterize that custom font into an image or force the user to download the custom font. If the user has to download a custom font, it’s never a gaurantee that it will be compatible as there are many formats of fonts. Even with rasterized fonts as images, depending on how much text needs to be shown, the graphic might get really big and weigh down the downloading speed or drawing performance.

    The most efficient method is probably to create a real font using a font editor and hope it works on the user’s end. But font editors cost money, and if you’re not a hardcore typographer, what’s the point of investing in it? So I’m going to attempt to create a “free” solution: implement a simple javascript font system based on a sprite sheet. This is a technique commonly used in game development and I’m sure others out there have done similar thing.

    (more…)

  • Internet Dating Sexy Asians Meet Online Good Time

    Yahoo Singles just sent me an e-mail saying that they’re selling out to Match.com. First off, Yahoo did not provide the best service for non-English named gents like myself. I know they’re trying to prevent spam, but do they no know that people out there don’t (more…)