Skip to content

Problems with webp Support #65

@pepebe

Description

@pepebe

Overview:

Support of webp output seems to be broken:

  • Resizer doesn't work at all (see: Can't create webp images with Resizer #64)
  • Webp thumbs are much bigger then the original jpg.
  • Also the webp format seems to be fake and the images is still a jpg on the inside.

Example: Webp / Jpeg Thumbs created by pthumb (same source image):

  • The webp image blows up from 72 to 202kB.
  • Even though both images have differnt extensions (jpg, webP), both have the same file type (JPEG-Bild = jpeg image)

image

This is how a "real" webp image properties look like in gimp:

image

I am aware that the image shows the format as webP. Changing it to webp doesn't change the result.

I have found a forum thread that support my findings:
https://community.modx.com/t/pthumbtransparent-webp-images/1999/18

Environment:

  • modxcloud
  • modx 2.7.3
  • pthumb 2.3.3
  • contentblocks 1.8.15
  • resizer 1.0.2-beta

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions