Skip to content

Instantly share code, notes, and snippets.


Sagi Medina SagiMedina

View GitHub Profile
SagiMedina / ImageTools.js
Last active Nov 5, 2020
Resize and crop images in the Browser with orientation fix using exif
View ImageTools.js
import EXIF from 'exif-js';
const hasBlobConstructor = typeof (Blob) !== 'undefined' && (function checkBlobConstructor() {
try {
return Boolean(new Blob());
} catch (error) {
return false;
You can’t perform that action at this time.