Results 1 to 10 of 10

Thread: HOW TO SHOW webp FORMAT?

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jan 2020
    Posts
    5,538

    HOW TO SHOW webp FORMAT?

    HOW TO SHOW webp FORMAT?
    AND convert to GIF,PNG,bmp (and how to show to hdc)
    thank you

  2. #2
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    7,654

    Re: HOW TO SHOW webp FORMAT?

    You can use Windows Imaging Component.

    [VB6] Intro to the Windows Imaging Component (WIC): Scale and convert to JPG or PNG

    If you're on Windows 10, it supports WebP natively, but if you're on Windows Vista or 7, you'll need to install a codec:

    Here is one from Google that I use. You'll also be able to see previews in the Windows Image Viewer and in Explorer (in e.g. the Preview pane in my ShellBrowse control). Note that after installation you have to restart your computer before WIC will recognize it.
    Last edited by fafalone; Mar 25th, 2021 at 03:36 AM.

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Jan 2020
    Posts
    5,538

    Re: HOW TO SHOW webp FORMAT?

    Quote Originally Posted by fafalone View Post
    You can use Windows Imaging Component.

    [VB6] Intro to the Windows Imaging Component (WIC): Scale and convert to JPG or PNG

    If you're on Windows 10, it supports WebP natively, but if you're on Windows Vista or 7, you'll need to install a codec:

    Here is one from Google that I use. You'll also be able to see previews in the Windows Image Viewer and in Explorer (in e.g. the Preview pane in my ShellBrowse control). Note that after installation you have to restart your computer before WIC will recognize it.
    IT'S SO FUNNY,
    WEBP 280K
    JPG 972K
    google webp to JPG 500K(80%)
    100%jpg =1.8M

  4. #4
    PowerPoster wqweto's Avatar
    Join Date
    May 2011
    Location
    Sofia, Bulgaria
    Posts
    6,167

    Re: HOW TO SHOW webp FORMAT?

    Quote Originally Posted by xiaoyao View Post
    IT'S SO FUNNY,
    WEBP 280K
    JPG 972K
    google webp to JPG 500K(80%)
    100%jpg =1.8M
    No, WebP images are ~30% smaller that JPG at *same* quality settings. Your "benchmarks" are probably flawed yet again if you get threefold decrease (hint: quality settings).

    WebP supports lossless compression while JPG at quality setting to 100 is *not* lossless because JPG does not support lossless compression at all. The question then is why are you even testing "100% JPG" whatever it means?

    Hint: JPG qualtity setting at 80 is *not* the same as WebP quality setting at 80.

    More hints: libjpeg-turbo qualtity setting at 80 is *not* the same as WIC quality setting at 80 because each library interprets its own JPG quality settings differently.

    cheers,
    </wqw>

  5. #5

    Thread Starter
    PowerPoster
    Join Date
    Jan 2020
    Posts
    5,538

    Re: HOW TO SHOW webp FORMAT?

    jpg from https://storage.googleapis.com/downl...CodecSetup.exe
    He provided two photos.(webp,jpg)
    wic save jpg use 60%,80%,100%

  6. #6
    PowerPoster wqweto's Avatar
    Join Date
    May 2011
    Location
    Sofia, Bulgaria
    Posts
    6,167

    Re: HOW TO SHOW webp FORMAT?

    Quote Originally Posted by xiaoyao View Post
    jpg from https://storage.googleapis.com/downl...CodecSetup.exe
    He provided two photos.(webp,jpg)
    wic save jpg use 60%,80%,100%
    No, this is "Copyright (c) 2010, Google Inc" and both images are not compressed with the same quality settings and/or their choice is biased because these are shipped by the "vendor".

    Find independent benchmarks as I highly doubt you are able to measure compressed image quality (the noise the codec introduces i.e. the distance from the original image) in any objective and quantative way.

    cheers,
    </wqw>

  7. #7

    Thread Starter
    PowerPoster
    Join Date
    Jan 2020
    Posts
    5,538

    Re: HOW TO SHOW webp FORMAT?

    how to get zip file list?ZipArchive
    if zip have 11 files,how to get filename list only

  8. #8
    PowerPoster wqweto's Avatar
    Join Date
    May 2011
    Location
    Sofia, Bulgaria
    Posts
    6,167

    Re: HOW TO SHOW webp FORMAT?

    Quote Originally Posted by xiaoyao View Post
    how to get zip file list?ZipArchive
    if zip have 11 files,how to get filename list only
    Hilarious! :-)) How to boil dumplings? Do I need a knife?

    cheers,
    </wqw>

  9. #9

    Thread Starter
    PowerPoster
    Join Date
    Jan 2020
    Posts
    5,538

    Re: HOW TO SHOW webp FORMAT?

    Quote Originally Posted by wqweto View Post
    Hilarious! :-)) How to boil dumplings? Do I need a knife?

    cheers,
    </wqw>
    about ZipArchive,i don't khnow how to add a new file to zip file.
    or get all filenmaes in a zip file

    (can't find ZipArchive bbs post,only github)
    Last edited by xiaoyao; Mar 25th, 2021 at 02:16 PM.

  10. #10
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    6,734

    Re: HOW TO SHOW webp FORMAT?

    You started this thread about WEBP graphic files.
    And then you suddenly talk about adding files to a Zip archive.
    Just keep it to one topic per thread

Posting Permissions

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



Click Here to Expand Forum to Full Width