Skip to content

widgets: Fix some issues#1900

Open
mattst88 wants to merge 4 commits into
blackducksoftware:mainfrom
mattst88:widget-fixes
Open

widgets: Fix some issues#1900
mattst88 wants to merge 4 commits into
blackducksoftware:mainfrom
mattst88:widget-fixes

Conversation

@mattst88
Copy link
Copy Markdown

  • widgets: correct OH_Partner_frame.png dimensions, metadata, and test fixtures
  • widgets: correct Tiny widget height to match profile_tiny.png (15 → 16)
  • widgets: add PNG output format support
    `?format=gif` actually emits a PNG but with a Content-Type of image/gif.
    
    So add `?format=png` which will emit the same underlying image data as
    before but with the correct Content-Type of image/png.
    
  • widgets: flatten transparent background to white
    OH_Partner_frame.png has an alpha channel — the content area was
    transparent. The kudos badge composited on top has a white background,
    making it visually inconsistent. Flatten to white so the entire widget
    has a uniform opaque background.
    

mattst88 added 4 commits May 20, 2026 07:19
`?format=gif` actually emits a PNG but with a Content-Type of image/gif.

So add `?format=png` which will emit the same underlying image data as
before but with the correct Content-Type of image/png.
OH_Partner_frame.png has an alpha channel — the content area was
transparent. The kudos badge composited on top has a white background,
making it visually inconsistent. Flatten to white so the entire widget
has a uniform opaque background.
@mattst88
Copy link
Copy Markdown
Author

cc: @Priya5

@mattst88
Copy link
Copy Markdown
Author

mattst88 commented Jun 4, 2026

Can someone review this? It's pretty trivial.

cc: @Niharika1117

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant