Skip to content

Chrome uses "jpeg" as default format for captured images #40410

@Juraj-Masiar

Description

@Juraj-Masiar

MDN URL

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/extensionTypes/ImageDetails

What specific section or headline is this issue about?

ImageDetails / format - Chrome is actually using jpeg as default

What information was incorrect, unhelpful, or incomplete?

extensionTypes.ImageFormat. The format of the resulting image. Default is "png".

What did you expect to see?

Maybe something like this:
Default value is browser-specific: Firefox uses "png", Chrome uses "jpeg". To avoid inconsistencies, consider specifying the format explicitly.

Do you have any supporting links, references, or citations?

Chrome docs:
https://developer.chrome.com/docs/extensions/reference/api/extensionTypes#type-ImageDetails

The format of the resulting image. Default is "jpeg".

Real world test using Chrome 140.0.7301.0:

Image

Do you have anything more you want to share?

No response

MDN metadata

Page report details

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content:WebExtWebExtensions docsgood first issueA good issue for newcomers to get started with.p1Major issue with medium priority, should be addressed soon.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions