Seneca-CDOT / my-photohub

Making it easy to share your photos using GitHub Pages
BSD 2-Clause "Simplified" License
14 stars 13 forks source link

Image Optimization GitHub Action #3

Open humphd opened 1 year ago

humphd commented 1 year ago

When a user uploads their photos to be shared, we need to optimize them. I think this should include the following:

There are probably other things we can do too.

When the optimization is done, we should have both the original photos and optimized photos in different directories.

Genne23v commented 1 year ago

I would like to create a demo to do this task. I found two libraries that could do metadata extraction and image resizing. ExifReader - Metadata extractor Sharp - Image resizing

I'm not sure how I should implement to merge with other parts. Please let me know if you have any expectation on this issue.

humphd commented 1 year ago

Start by creating shell scripts that can do this in Unix. When we run this, we'll do it on an Ubuntu cloud instance in GitHub Actions.

batunpc commented 1 year ago

Hi @Genne23v, I am just checking if this issue is still being worked on.

SerpentBytes commented 1 year ago

@batunpc, I have seen his blog post. I think he's working on this issue.

Genne23v commented 1 year ago

@SerpentBytes Thanks for the comment! @batunpc Yes, I'm going to push something soon. Sorry for late reply.