# Code maintenance OP-20721 - WebP frame extraction does not return for an animation frame that starts with ALPH

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-20721

## OPEN POINTS

_No work packages_

## Subtasks

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Assignee | Andrej Sandorf |
| Accountable |  |
| Designer |  |
| Developers | Oliver Günther |
| Requires doc change | No |
| Date |  |
| Priority | Medium |
| Target versions | 18.0.0 |
| Sprint |  |
| Backlog bucket |  |
| Module |  |
| Accessibility | No |
| List |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| Work |  |
| Remaining work |  |

## Description

`Exports::PDF::Common::Attachments#extract_first_webp_frame`&nbsp;does not return when the first animation frame in a WebP file starts with a chunk other than VP8, VP8L, or VP8X. PDF export uses this method when it embeds a WebP attachment. This can result in an endless loop depending on the input
