Back to Changelog

Image Normalization, Classification & Resizing

Logos are now normalized, classified by type (mark vs. full logo, dark vs. light), and resized on demand.

Every scraped image now goes through a new processing pipeline before being served via the API.

Normalization

  • Format conversions for consistency (e.g., BMP/TIFF to PNG)
  • Orientation fixes and metadata stripping
  • Transparent background handling

Classification

Images are now tagged by type:

  • Logo mark: Iconic symbol without text
  • Full logo: Symbol + company name
  • Dark variant: Designed for dark backgrounds
  • Light variant: Designed for light backgrounds

This helps you pick the right asset for your app's theme.

Resizing

The API returns the primary logo as a 180x180 PNG by default. Customize with query parameters:

https://api.brandql.com/logo/github.com?format=svg&size=512

Supported formats: SVG (if available), PNG, WebP. Sizes from 16px to 1024px. Fallback images or initials (and their configuration) might be added in the future.


These changes are live in the admin dashboard for reviewing and overriding classifications. API consumers benefit automatically.