• Resolved truxton

    (@truxton)


    Hi,

    Recently I found some of my images crashed with a strange way:

    assume the original image is xxx.png:
    the image, as well as it’s resized jpg images, are good;
    all xxx-1024×760.png.webp, xxx-120×120.png.webp… (resized webp images) are good;
    ONLY xxx.png.webp is crashed with xxx.png.webp.crashed.

    I found these images have the same attribute: they all have exif information ‘IPTCDigest’ as well as a warning: ‘Warning : IPTCDigest is not current. XMP may be out of sync’, which won’t be removed after browser’s copy-paste operation.

    I don’t have much knowledge of exif metadata. That’s all I know so far. Could you help me handling this problem? Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter truxton

    (@truxton)

    A more detailed operation:
    1. I have an image with IPTCDigest exif in my computer, I copy it and paste it in my wordpress’s editor
    2. The image is uploaded in my wordpress’s directory with such exif information.
    3. the original image’s webp conversion failed.
    3.5 however, I can convert the problematic image to webp with imagemagick’s convert command directly (or with libwebp’s cwebp command)
    4. if I remove all the exif information from the image and upload it again, all operations go well without error.

    Thread Starter truxton

    (@truxton)

    My configuration:
    use imagemagick 7.1.0 with libwebp 1.22; latest imagick; uncheck ‘Keep images metadata stored in EXIF or XMP formats’; php exif is disabled.

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hello @truxton,

    Thanks for your message.

    I have received an e-mail from you. I added these images directly to the / uploads directory and converted using the Gd, Imagick and Remote server methods. There are no problems on each of them.

    Images are converted to WebP format (weighs 20KB with 85% quality) and AVIF format (weighs 11KB with quality 85%).

    This may be a problem with a specific version of Imagick, but unfortunately I am not able to help with this. It depends on many factors. What I can recommend to you is to try the Gd method or the Remote server method. Then the images are converted on my server, where I control the used versions of the libraries, the conditions are always the same.

    Best,
    Mateusz

    Thread Starter truxton

    (@truxton)

    Hi,

    I downgraded my imagick from 3.7.0 to 3.6.0 and the problem was solved. Thanks for your help!

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @truxton I am glad that the problems have been solved. I also encourage you to try the AVIF format. You can see a big difference in the example of this file. The original file weighs 228 kB. A WebP file weighs 20 kB, and an AVIF file weighs only 11 kB.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Some metadata (currently i guess it’s IPTCDigest) makes webp.crash’ is closed to new replies.