Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: PNG vs JPG

  1. #1
    Join Date
    Oct 2006
    Location
    Tampa Bay, Florida
    Posts
    1,341

    Default PNG vs JPG

    I've noticed some comments in the forum about using PNG files when
    using clipview. Is there a reason for this? I've tried both and the JPG
    files are much smaller and quality about the same. Is there something that
    I'm missing?

  2. #2
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,966

    Default Re: PNG vs JPG

    arid,

    I'm never sure about this myself but I must admit a preference to using png's.

    It is my belief (and I stand to being corrected) that a jpg is a "lossy" file type whereas a png is a "lossless" file type. Therefore if your working with images within Xara it makes sense to use the Lossless png over the Lossy jpg.
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  3. #3
    Join Date
    Dec 2006
    Location
    Newton-le-Willows, Merseyside, UK
    Posts
    47

    Default Re: PNG vs JPG

    Yes egg is right PNG is lossless as is GIF but an equivalent PNG can be compressed more than its GIf counter part, also PNG is a patent-free image type.
    Wizzard <|:-)
    "All things being equal, the simplest solution tends to be the best one."

  4. #4
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,540

    Default Re: PNG vs JPG

    Are we talking about 8-bit PNG or True Color or True Color + Alpha PNG?

    8 Bit PNG files, like GIF, use a select palette of no more than 256 colors. I have found that for the web, an 8-bit PNG bitmap, with a limited palette of colors will look cleaner and sharper than a JPEG file with 20% compression (80 on the slider setting).

    JPEG images are fine for photographs. But they do not do well with areas of flat color, especially red. Even small areas of red bleed.

    If you are preparing a high resolution (300-600dpi or more) document for high quality printing, then JPEG with about 10% compressioin (90 on the slider) or a True Color PNG, or a TIFF are best.

    So the short answer is there is no short answer It depends on how you intend to use the image.

    Gary

  5. #5
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,966

    Default Re: PNG vs JPG

    Thanks Gary.
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  6. #6
    Join Date
    Oct 2006
    Location
    Tampa Bay, Florida
    Posts
    1,341

    Default Re: PNG vs JPG

    Thanks guys

    I know that every time you save a JPG file you loose quality.
    But if you try to avoid this it seems to work well with pictures.
    It's also true JPG doesn't work well with flat colors.
    And if you want to use transparency then PNG or TIFF is the only way.

  7. #7
    Join Date
    Dec 2006
    Location
    Newton-le-Willows, Merseyside, UK
    Posts
    47

    Default Re: PNG vs JPG

    true but there is no transparency for tiff's in Xara yet and to get the best from png it needs to be true colour with alpha transparency.
    Wizzard <|:-)
    "All things being equal, the simplest solution tends to be the best one."

  8. #8
    Join Date
    Nov 2001
    Posts
    15

    Default Re: PNG vs JPG

    Quote Originally Posted by Wizzard View Post
    true but there is no transparency for tiff's in Xara yet and to get the best from png it needs to be true colour with alpha transparency.
    When we talk about alpha transparency here, does that mean I should be able to open the png in photoshop and see a true alpha channel (i/e b&w mask)? I'm totally new to Xara and fairly new to PS. I love the little bit I've played with Xara, but for the gaming I'm doing I need to be able to end up with a TGA with a B/W alpha mask to indicate in game transparency.

  9. #9
    Join Date
    Feb 2002
    Location
    Boulder Creek, California, USA
    Posts
    6,193

    Default Re: PNG vs JPG

    I Photoshop, you would load a selection from the layer transparency. Then save the selection to see the alpha channel. This may depend on the application your using, as some see things differently.

    Rich

  10. #10
    Join Date
    Nov 2001
    Posts
    15

    Default Re: PNG vs JPG

    Quote Originally Posted by molucca View Post
    I Photoshop, you would load a selection from the layer transparency. Then save the selection to see the alpha channel. This may depend on the application your using, as some see things differently.

    Rich
    Sweet! I just tried it with a quick single color circle, did the layer transparency and created an alpha. Saved as a TGA and it imported perfect into Second Life. Building just got a LOT more fun! Not quite as nice as going direct from Xara, but pretty dang close.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •