Closed SnezanaDichevska closed 6 years ago
Occurs on any size image I believe.
replacing import 'exif-js/exif'; in img-exif.service.js with var EXIF = require('exif-js'); fixed this for me.
I'm not sure what to do with the .ts file in src however - not sure how to build/compile into js to test and the ts doesn't recognise 'require'. Can anyone have a go at this?
@bergben i know you're trying to not support this anymore but we're so close :p (and it seems the recent changes to support Angular 6 have broken it for everyone)
Hey @jacksonhart! Thanks for figuring out what the problem is - I was guessing it has to be something like this! I can fix it in the ts files and build and publish it, will do it soon (today)!
The problem occurs in ng-pica ReferenceError: EXIF is not defined at eval (webpack:///./~/ng2-pica/dist/src/img-exif.service.js?:13
I just released version 2.1.18, can you guys test if it's working with the fix @jacksonhart suggested and report back? Thanks!
@bergben I had the same issue, upgraded to 2.1.18 and the issue is resolved, thanks!
Latest exif-js (specified as dependency)causes errors when using ng2-img-max resizing method. Reprosteps - resize bigger images 4-5MB