Skip to content

dataURL type #35

@miguelowsky-js

Description

@miguelowsky-js

This is an awesome plugin, but I found that the 'type' variable maybe is wrong, in the line 26 is this code:
var type = options.resizeType || 'image/jpg';
and I think it should be:
var type = options.resizeType || 'image/jpeg';
The image/jpg type returns a png data type, and with the image/jpeg string, it returns a jpeg data type and is faster than the other way.

BTW thanks a lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions