Skip to content

.::REALITYRECALL::.

Reality Bites

  • Home
  • About
  • Contact
  • What’s the Difference Between JPG, PNG, and GIF?

    sshot-331 copy

    As we keep building on old image technology, types of file formats keep piling up, each with their own nuances and uses. JPG, PNG, and GIF have become the most common, but what sets them apart from each other?

    These formats have become the most popular because of their compatibility with modern browsers, broadband speeds, and the needs of average users. Join us as we take a detailed look at each format, and cover the strengths and weaknesses of each.

    JPG (Joint Photographic Experts Group)

    JPG was a filetype developed by the Joint Photographic Experts Group (JPEG) to be a standard for professional photographers. Like the method ZIP files use to find redundancies in files to compress data, JPGs compress image data by reducing sections of images to blocks of pixels or “tiles.” JPG compression has the unfortunate side effect of being permanent, however, as the technology for the file was created for storing large photographic image files in surprisingly small spaces, and not for photo editing.

    KeizersgrachtReguliersgrachtAmsterdam compressed

    JPGs have become the de facto standard image of the internet because they can be compressed so much. A typical JPG can be compressed at a ratio of anywhere from 2:1 to as high as 100:1, depending on your settings. Particularly back in the days of dial-up internet, JPGs were the only viable way to send image information.

    However, because of the lossy nature of JPG, it is not an ideal way to store art files. Even the highest quality setting for JPG is compressed, and will change the look of your image, if only slightly. JPG is also not an ideal medium for typography, crisp lines, or even photographs with sharp edges, as they are often blurred or smeared out by anti-aliasing. What is potentially worse, is that this loss can accumulate—saving multiple versions of artwork can cause degradation with every save. Even so, it is common to see these things saved as JPG, simply because the filetype is so ubiquitous.

    24bitJPG

    Close up of a high quality JPG.

    JPGcompressed

    Close up of a very lossy JPG.

    The Joint Photographic Experts Group developed lossless JPG technology to combat this serious problem of quality degradation. However, because of dial-up speeds and general lack of interest in high quality non-degrading files, the JPG-LS standard never caught on.

    It is possible to download plugins that allow users to open and save the lossless JPG2000, and some programs, like Apple’s Preview application, can read and save JPG2000 directly out of the box.

    JPGs support 24-bit RGB and CMYK, as well as 8-bit Grayscale. I personally do not recommend using CMYK color spaces in JPGs. It’s also important to note that Grayscale JPGs do not compress nearly as much as color ones do.

    GIF (Graphics Interchange Format)

    GIF, like JPG, is an older filetype, and one generally associated with the internet as opposed to photography. GIF stands for “Graphics Interchange Format” and employs the same lossless LZW compression that TIFF images use. This technology was once controversial (for patent enforcement issues) but has become an accepted format since all patents have expired.

    8bit

    Close up of an 8-bit color GIF.

    GIF is by nature an 8-bit color file, meaning they are limited to a palette of 256 colors, which can be picked from the RGB color model and saved to a Color Look Up Table (CLUT), or simply “Color Table.” There are, however, standard color palettes, like the “Web Safe” palette. An important note is that Grayscale images are by nature an 8-bit palette, so saving them as GIF is fairly ideal.

    Apart from support for transparency, GIF also is supports animations, limiting every frame to 256 preselected colors.

    While GIF is not lossy like JPG, conversion to 8-bit color distorts many images, using dither filters to optically blend, or “diffuse,” colors, similar to halftone dots or pointilism. This can radically alter an image for the worse, or, in some cases, be used to create an interesting effect.

    Because of this non-lossy format, GIF can be used to keep tight lines on typography and geometric shapes, although these things are better suited to vector graphic files like SVG or the Adobe Illustrator native format, AI.

    DANCING_BABY

    GIF is not ideal for modern photography, nor image storage. At small sizes with very limited color tables, GIF images can be smaller than JPG files. But at most ordinary sizes, JPG compression will create a smaller image. They are largely out of date, useful only to create dancing babies or to sometimes create rough transparencies.

    PNG (Portable Network Graphics)

    HTG HTG HTG HTG

    PNG stands for Portable Network Graphics (or, depending on whom you ask, the recursive “PNG-Not-GIF”). It was developed as an open alternative to GIF, which used the proprietary LZW compression algorithm discussed earlier. PNG is an excellent filetype for internet graphics, as it supports transparency in browsers with an elegance that GIF does not possess. Notice how the transparent color changes and blends with the background. Right-click the image to see. This is actually one image that is on four different background colors.

    PNG supports 8-bit color like GIF, but also supports 24-bit color RGB, like JPG does. They are also non-lossy files, compressing photographic images without degrading image quality. PNG tends to be the biggest of the three filetypes and isn’t supported by some (usually older) browsers.

    In addition to being an excellent format for transparency, the non-lossy nature of 24-bit PNG is ideal for screenshot software, allowing pixel for pixel reproduction of your desktop environment.

    Which to use?

    JPG compressed

    From left to right, these files are: 24-bit JPG Compressed, 8-bit GIF, 8-bit PNG, Full Quality 24-bit JPG, and 24-bit PNG. Note that the file sizes increase in this same direction.

    PNG is the largest image type for bigger images, often containing information you may or may not find useful, depending on your needs. 8-bit PNG is an option, but GIF is smaller. Neither are optimal options for photography, as JPG is much smaller than lossless PNG with only minimal loss of quality. And for storage of high resolution files, JPG compresses to tiny proportions, with quality loss only visible on close inspection.

    In short:

    • PNG is good option for transparency and non-lossy, smaller files. Larger files, not so much, unless you demand non-lossy images.
    • GIF is largely a novelty and only useful for animation, but can produce small 8-bit images.
    • JPG is still the king for photographs and photo-like images on the internet, but be careful, as your file can degrade with every save.

    Image of Keizersgracht, in Amsterdam by Massimo Catarinella via Wikipedia, released under Creative Commons license. Derivative images available under the same license. I don’t care to know who created the dancing baby.

    Got an opinion to share? Click here to join the discussion


    Discover Card Motiva Application

    Similar Articles Productive Geek Tips
    • The Difference Between Android and the iPhone [Comic]
    • What’s the Difference Between Single and Double Quotes in the Bash Shell?
    • Compact Toolbar Buttons in Firefox
    • Week in Geek: The Progress of Geekery Edition
    • Convert Firefox 4’s Wide Menu Button into an Icon
    • How to Make the Linux Console Easier to Use for Linux Newbies
    • Wean Yourself from Compulsive Email Checking with Positive Reward
    • How to Email Your Professor and Get a Quick Response
    • How to Avoid Computer Eye Strain and Keep Your Eyes Healthy
    • Three Potentially Risky Ways to Save a Lot on Textbooks
    • Using Microsoft Word 2010’s References Feature (for Students)

    October 5, 2010
  • 4 in 10 1st marriages end in divorce: report

    The traditional definition of family is changing in Canada, with 4 in 10 first marriages ending in divorce, according to a new study.

    October 4, 2010
  • Make Your PC Shut Down at Night (But Only When You’re Not Using It)

    image

    If you normally like to power off your PC when you’re not using it, do you ever forget and leave it on? Here’s how to configure Windows to automatically power down at night, but only if you’re not using the PC at the time.

    To accomplish this, we’ll setup a Task Scheduler job that tells the computer to shut down, and make sure to configure the rules so that it doesn’t kick in if you are up late using the PC.

    Create a Task Scheduler Job to Shut Down the PC

    You’ll need to open up Task Scheduler to create the new job, so open it up and click the Create Task link on the right-hand side.

    image

    Now you’ll want to give the task a name, and make sure to check the box for “Run with highest privileges”, since the shutdown utility requires admin access.

    image

    Now switch to the Triggers tab, click New, and then setup a schedule that makes sense for you, like every night at midnight.

    image

    Now flip over to the Actions tab, click New, and then enter shutdown into the Program box, and /S into the parameters box. If you want to force a shutdown and kill every app, you can use /S /F to force it to happen right away.

    image

    Next head to the Conditions tab, and make sure to check the box to only start the task if the computer is idle for more than x minutes. You can also choose to stop the task if the PC isn’t idle to help make sure it doesn’t kick in if you are on the PC.

    image

    Lastly, head to the Settings tab, and you can choose to restart the task every 30 minutes if the task fails—that way, if you are on the PC for a while past the normal time, the job will start up later on and shut down the PC.

    image

    Once you’re done, your PC will shut down automatically. Enjoy!

    Want to make your PC do something other than shut down? Read our article on creating shortcuts to restart, shut down, hibernate, or sleep mode.

    Got an opinion to share? Click here to join the discussion


    Discover Card Motiva Application

    Similar Articles Productive Geek Tips
    • Make Windows Vista Shut Down Services Quicker
    • Shut Down or Reboot a Solaris System
    • The Sea at Night Wallpaper
    • Desktop Fun: Cities at Night Wallpapers
    • Night of the Living Trekkies [Book]
    • Wean Yourself from Compulsive Email Checking with Positive Reward
    • How to Email Your Professor and Get a Quick Response
    • How to Avoid Computer Eye Strain and Keep Your Eyes Healthy
    • Three Potentially Risky Ways to Save a Lot on Textbooks
    • Using Microsoft Word 2010’s References Feature (for Students)
    • Optimize Your Computer Screen Real Estate

    October 4, 2010
  • Microsoft LightSpace brings Surface (plus shadows) to any table (video)

    Microsoft LightSpace brings Surface (plus shadows) to any table (video)

    It’s hard not to love the crazy stuff happening at Microsoft Research, but it’s also hard to imagine when any of it is going to actually start changing the way we interact with our PCs. Surface was bested by SecondLight as the coolest tech we can’t buy, and now here comes another successor: LightSpace. This gets rid of the expensive table in favor of a (surely not cheap) series of projectors hanging from the ceiling paired to a 3D camera. The camera detects the relative position of things and instructs a projector to apply a Surface-like interface onto any flat surface. From there a user can literally grab any file they like and carry it over to another surface, where it will be displayed. It’s all demonstrated quite handily in the video below, and while the system does look a wee bit rough at the moment, the potential is surely there. Just like it was with SecondLight, and Surface, and Courier…

    Continue reading Microsoft LightSpace brings Surface (plus shadows) to any table (video)

    Microsoft LightSpace brings Surface (plus shadows) to any table (video) originally appeared on Engadget on Mon, 04 Oct 2010 13:05:00 EDT. Please see our terms for use of feeds.

    Permalink TechTrends  |  sourceMicrosoft Research  | Email this | Comments

    October 4, 2010
  • Google TV Looks Like the Real Deal in Bridging the Web-TV Divide [Video]


    Click here to read Google TV Looks Like the Real Deal in Bridging the Web-TV Divide

    If it works as smooth as it looks in this preview video, Google TV could provide the kind of seamless web-on-TV experience many have been looking for: Dedicated apps, a Chrome web browser, easy picture and music viewing, and more. More »







    October 4, 2010
  • Emma Stone Offered The Role Of Spider-Man’s Mary Jane Watson

    Emma Stone (currently starring in “Easy A”) has been offered the role of Peter Parker’s love interest.

    October 4, 2010
  • How to Crack Your Windows Password: The Video Guide

    We’ve already shown you how to crack your forgotten Windows password with the Ophcrack live CD, but for those that want to really understand the process, we’ve put together a video guide that will help you visually see how it all works.

    In the above video we are able to boot into the live CD, crack our password, and log into Windows in under eight minutes. If you want a more in depth overview on how Ophcrack works make sure you check out the original article here:

    How to Crack Your Forgotten Windows Password

    Got an opinion to share? Click here to join the discussion


    Discover Card Motiva Application

    Similar Articles Productive Geek Tips
    • Using Password Phrases For Better Security
    • How to Crack Your Forgotten Windows Password
    • How to Regain Access to Your Administrator Account in Windows Vista using System Restore
    • Reset Your Forgotten Password the Easy Way Using the Ultimate Boot CD for Windows
    • Month in Geek: September 2010 Edition
    • Wean Yourself from Compulsive Email Checking with Positive Reward
    • How to Email Your Professor and Get a Quick Response
    • How to Avoid Computer Eye Strain and Keep Your Eyes Healthy
    • Three Potentially Risky Ways to Save a Lot on Textbooks
    • Using Microsoft Word 2010’s References Feature (for Students)
    • Optimize Your Computer Screen Real Estate

    October 3, 2010
  • Flames go unbeaten in pre-season

    Calgary Flames goalie Miikka Kiprusoff made 27 saves in a 1-0 shutout win over the Edmonton Oilers, the final exhibition encounter for both clubs.

    October 3, 2010
  • UEFI on track to replace PC BIOS by 2011

    The relatively slow PC boot-up sequence is expected to receive a welcome boost with the mass adoption of a new spec known as UEFI (Unified Extensible Firmware Interface) in 2011.

    read more

    October 3, 2010
  • The Future of Cargo Transport Is a Slow UFO [Blimps]


    Click here to read The Future of Cargo Transport Is a Slow UFO

    The future of heavy cargo transportation looked positively eco-friendly and blimp-like earlier this summer, so it’s really no surprise that Australia’s Skylifter cargo blimp is making the Internet rounds this weekend. More »







    October 3, 2010
  • Quebec City NHL rally draws thousands

    Thousands of people are in Quebec City to participate in what’s being called the “Blue March,” demanding the return of NHL hockey.

    October 2, 2010
  • Microsoft: 'No Need' For Kinect Processor, Removal Not Cost-Related

    Kinect spokesman Kudo Tsunoda claims that Microsoft removed a standalone processor from Kinect because there was “no need” for its inclusion, not to reduce the cost of the device.

    October 1, 2010
  • Google Instant in Chrome Is Awesome, Even More Useful than on Google.com [Video]


    Click here to read Google Instant in Chrome Is Awesome, Even More Useful than on Google.com

    If you’re keen on the as-you-type search results you get from Google Instant, you’ll really like Instant integrated with Chrome’s omnibox. Just launch your dev/canary release, type about:labs, enable Instant, restart Chrome, and prepare for some interesting browsing. More »







    October 1, 2010
  • Facebook Users Can Now Upload High-Res Photos, Bulk Tag Friends

    Facebook High Res Facebook users everywhere will soon be able to upload photos in higher resolution, tag their friends with greater efficiency and browse through their friends’ albums with more grace, thanks to a new set of features that will begin rolling out this month.

    The social networking site’s new photo features will allow users to upload photos in a 2048-pixel resolution, instead of the traditional 720-pixel resolution. “It’s enough pixels to print out a 5×7 print at 300 DPI,” says Facebook Photos product manager Sam Odio. In addition, Facebook members will no longer have to load a separate Web page to view each photo in a friend’s album, thanks to a streamlined viewing function that automatically displays images, comments and tags directly on top of an already opened page. “It’s essentially going to happen very quickly, right when you click on the thumbnail,” Odio says. “If you click on a photo and an album from a news feed, you can still page through the entire album.”

    Gallery: Facebook Photos: High Resolution and Bulk Tagging

    Continue reading Facebook Users Can Now Upload High-Res Photos, Bulk Tag Friends

    Facebook Users Can Now Upload High-Res Photos, Bulk Tag Friends originally appeared on Switched on Fri, 01 Oct 2010 09:00:00 EST. Please see our terms for use of feeds.

    Permalink | Email this | Comments

    October 1, 2010
  • Google Wants to Kill JPEGs With New WebP Format [Google]


    Click here to read Google Wants to Kill JPEGs With New WebP Format

    These pictures look the same—but they're not. Because the sign on the right, hypothetically, takes up nearly 40% less space. That's the version in WebP, Google's plan to speed up the internet by slimming down its images. More »







    September 30, 2010
  • H1N1 shots skipped by 60% of Canadians

    About four in 10 Canadians rolled up their sleeves for the H1N1 shot last flu season, Statistics Canada says.

    September 30, 2010
  • Windows Live Essentials 2011 Leaves Beta, Available for Download Now [Downloads]


    Click here to read Windows Live Essentials 2011 Leaves Beta, Available for Download Now

    Windows: Microsoft today released Windows Live Essentials 2011, a free suite of solid desktop applications ranging from Messenger and Photo Gallery to Movie Maker and Mail. More »







    September 30, 2010
  • UFOs in Montreal? Strange sights reported

    A mysterious object in the sky over Montreal this week is getting a lot of attention, including from a respected Montreal doctor who believes he saw something “out of this world.”

    September 30, 2010
  • ADHD Linked to Missing Genes

    ADHD is likely caused by a number of genetic changes brought on by missing segments of genes, say scientists.

    September 30, 2010
  • Google Celebrates ‘Flintstones’ 50th Anniversary With Yet Another Doodle

    Flintstones

    Today, in case you didn’t know, marks the 50th anniversary of ‘The Flinstones’ franchise. Whereas most of us will probably celebrate the occasion by running around barefoot and breaking things with wooden clubs, Google decided to mark the occasion the only way it knows how — with a commemorative doodle on its homepage. Each time we visit Google today, the whole Flintstones gang will be there to greet us with broad smiles, reminding the world of the halcyon days of our primordial yesteryear. And if that doesn’t make your Bed Rock with excitement, we don’t know what will.

    Google Celebrates ‘Flintstones’ 50th Anniversary With Yet Another Doodle originally appeared on Switched on Thu, 30 Sep 2010 09:45:00 EST. Please see our terms for use of feeds.

    Permalink | Email this | Comments

    September 30, 2010
←Previous Page
1 … 620 621 622 623 624 … 732
Next Page→

.::REALITYRECALL::.

Reality Bites

Twenty Twenty-Five

Designed with WordPress