You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Widget image generation produces PNG internally — the pipeline opens
OH_Partner_frame.png, composites text and kudos onto it, and returns the
result via MiniMagick's to_blob, which emits PNG bytes. Previously those
bytes were served as image/gif regardless of what was requested, which
is a lie about the Content-Type.
Add proper ?format=png support by renaming render_image_for_gif_format
to render_image_for_image_format (and the "not supported" equivalent)
across all five widget controllers. PNG requests now receive
Content-Type: image/png with the same underlying bytes — no conversion
needed since the data is already PNG. GIF requests preserve existing
behavior for backward compatibility.
0 commit comments