sadaszewski

Results 43 comments of sadaszewski

Also stripEXIF does not seem to support a hook, so a plugin currently cannot be implemented.

But which hook should I use then in the plugin? Setting quality to 100 does blow up images. An example image I just tried saved at 97 has 600 KB....

The stripEXIF hook is welcome. If a plugin is indeed the only way to go...

Another alternative - although unmaintained - could be to use piexifjs. In this kind of code I would not expect many changes to be necessary over time - if any...

> You could "just strip exif data but orientation" but that won't work if you need to resize the image anyways, and support for exif orientation in browsers isn't great....

Resizing is not something I am interested in but I agree that the correct way to do this would be to try to estimate similar image quality to the original.

I never had resizing enabled, only stripEXIF. And JPG images definitely come out garbled every single time. You can see the artifacts from low quality compression / recompression with but...

I have created the plugin : https://github.com/sadaszewski/nodebb-plugin-exiftool

Ideally this should allow to login immediately with the account being created completely transparently if necessary. This would create a kind of "everybody is already registered here" situation which is...

Magic url is definitely a good term. "Login and *automatic registration* via a magic URL". I highlight the registration part because that one is not necessarily the case in Discourse...