Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce article image filesizes for Ojuju, Roboto Flex #7518

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

davelab6
Copy link
Member

@davelab6 davelab6 commented Apr 4, 2024

@nathan-williams noted that the Ojuju image3.gif is a whopping 1.5Mb, and so I ran gifsicle to downscale and optimize it to 317kb

gifsicle --resize-width 1200 -O=3 --lossy=80 image3.gif;

gifsicle also shaved 1kb off image5.gif with no changes.

And for Roboto Flex, @felipesanches pointed out its hero.png was 17mb (LOL) so I converted it to 166kb JPG :)

sips -Z 800 -s format jpeg -s formatOptions 80 hero.png -o hero.jpg; jpegoptim hero.jpg; 

Only 1kb via `gifsicle -O=3 image5.gif -o image5-sm.gif`
@davelab6 davelab6 changed the title ofl/ojuju/article/image3.gif reduce filesize Reduce article image filesizes for Ojuju, Roboto Flex Apr 4, 2024
@emmamarichal
Copy link
Collaborator

Hi @davelab6! This one hasn't changed, compared to before:

Screenshot 2024-04-04 at 10 01 04

@vv-monsalve
Copy link
Collaborator

Hi @davelab6! This one hasn't changed, compared to before:

But the file size is Ok.

@@ -1,5 +1,5 @@
<a href="https://youtu.be/f3IQSmKFokU"><img src="hero.png" /></a>
<p><em><a href="https://youtu.be/f3IQSmKFokU">Watch the introduction video on YouTube</a></em</p>
<a href="https://youtu.be/f3IQSmKFokU"><img src="hero.jpg" /></a>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The jpg to what this points at now needs to be included

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes, I didn't finish the image processing task I have open. Moving to draft until this is ready :)

@vv-monsalve vv-monsalve added the -- Needs Upstream Resolution Upstream fix required before moving forward label Apr 10, 2024
@davelab6 davelab6 marked this pull request as draft April 16, 2024 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-- Needs Upstream Resolution Upstream fix required before moving forward I Article/Description
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

None yet

3 participants