When To Use JPG vs PNG (For Websites)

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ม.ค. 2022
  • The easiest way to speed up your website is to use the correct image format. This is a very common cause of slow loading speed in Shopify Stores, but this video also applies to websites of any kind including Wordpress, Webflow, Squarespace, Wix etc...
    The main takeaway here is that you should use JPEG (or JPG) for photographs, and PNG for computer graphics like logos, text, or icons. Because if you save a photograph as PNG, the file size will be huge.
    The exception for this rule is if you need transparency such as in a product image with background removed, in which case you must use PNG.
    If you’d like to see more videos on how to speed up your Shopify store, let me know in the comments.
    Subscribe: / @edcodes

ความคิดเห็น • 18

  • @EdCodes
    @EdCodes  2 ปีที่แล้ว

    Watch this next: COMPLETE GUIDE TO IMAGES on Shopify - Formats, Sizes, Compression, SEO - th-cam.com/video/FmIRKvOuqSc/w-d-xo.html

  • @jordanramon9206
    @jordanramon9206 ปีที่แล้ว +2

    You are a blessing to this earth Ed. Thank you so much for sharing your knowledge with us.

  • @philipzwart6449
    @philipzwart6449 ปีที่แล้ว

    Very useful and concise information, thank you.

  • @h.schulz114
    @h.schulz114 ปีที่แล้ว

    Thanks a lot for your explanations!

  • @MrKozlicek
    @MrKozlicek 2 ปีที่แล้ว

    Nice video and nice channel. Subscribed :)

  • @olgagal8800
    @olgagal8800 2 ปีที่แล้ว +1

    Thank your for great explanations!

    • @EdCodes
      @EdCodes  2 ปีที่แล้ว

      welcome!

  • @lockhartlucis
    @lockhartlucis 6 หลายเดือนก่อน

    Awesome video

  • @tomtenberg
    @tomtenberg 2 หลายเดือนก่อน +1

    What about webp or avif?

  • @That_Freedom_Guy
    @That_Freedom_Guy ปีที่แล้ว

    Thanks.👍🏻

  • @charlieb2b
    @charlieb2b 2 ปีที่แล้ว

    Thanks for the video. Question. I do digital drawing, portrait of people as close as a picture as possible. Should I export my drawings as jpeg or png to share on social media?

    • @EdCodes
      @EdCodes  2 ปีที่แล้ว +1

      This isn't as important for social media - facebook, instagram, and others all have their own compression. This video is mainly directed at website owners.
      But generally it's also about the amount of colors - I think this is something I forgot to mention. Photographs have millions of colors. If you're using shades and gradients in your drawings that's also a lot of colors, the result will be a large and heavy png.
      You can test by saving your images in each format and seeing which weighs more, and if you can see which is better quality. Try squoosh.app if you want to compress while checking quality.

  • @elgarnamocii3397
    @elgarnamocii3397 ปีที่แล้ว

    konw i understand. thank u for sharing

  • @socheatkaraoke
    @socheatkaraoke 11 หลายเดือนก่อน

    Cool

  • @Flandernify
    @Flandernify 9 หลายเดือนก่อน

    Use Jpeg for photographs? I am looking at my older pictures (ca. 10 years), some 10% of them are not accessible anymore.... Being lossy, Jpeg is too unstable. If you cant store your pictures long-term, what is the point of taking pictures?

  • @johnmauger718
    @johnmauger718 5 หลายเดือนก่อน +2

    Great video, but had to throw in a dislike because you have embedding turned off which made it impossible to even source you in a professional way. GG 😎👍

    • @EdCodes
      @EdCodes  5 หลายเดือนก่อน

      I turned off embedding due to the invalid traffic bug in TH-cam. This affected hundreds of TH-camrs where our views were being seen as spam, and turning off embedding was a suspected fix. I've turned it back on now.

  • @j7ndominica051
    @j7ndominica051 ปีที่แล้ว

    The panda comparison is rigged in favor of JPEG. The PNG has a blank alpha channel and the quality of the JPEG is poor. If you have artificial shapes of contrasting colors that are not greeen or yellow on the photo, you must unselect chroma subsampling.