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

[ImgBot] optimizes images #698

Closed
wants to merge 2 commits into from
Closed

[ImgBot] optimizes images #698

wants to merge 2 commits into from

Conversation

@ImgBotApp
Copy link

@ImgBotApp ImgBotApp commented Jun 16, 2018

Hi! I'm ImgBot. Nice to meet you.

I noticed there were a bunch of images living in your project that weren't totally optimized so I thought I'd make you a PR ;) I use a lossless compression algorithm from ImageMagick so all the images are the same quality and dimensions as before only they take up less space now.

Image processing is tough work, I know, but I never get tired and I never rest - not until all the images on GitHub are totally optimized.

*Total -- 270.38kb -> 203.36kb (24.79%)

/assets/img/fedramp-logo-100x60.jpg -- 21.75kb -> 1.66kb (92.37%)
/assets/img/fedramp-logo-200x120.jpg -- 24.21kb -> 4.05kb (83.27%)
/assets/img/open-gov.png -- 71.57kb -> 62.55kb (12.61%)
/assets/img/open-data.png -- 152.85kb -> 135.10kb (11.61%)

ImgBotApp and others added 2 commits Jun 10, 2018
*Total -- 270.38kb -> 203.36kb (24.79%)

/assets/img/fedramp-logo-100x60.jpg -- 21.75kb -> 1.66kb (92.37%)
/assets/img/fedramp-logo-200x120.jpg -- 24.21kb -> 4.05kb (83.27%)
/assets/img/open-gov.png -- 71.57kb -> 62.55kb (12.61%)
/assets/img/open-data.png -- 152.85kb -> 135.10kb (11.61%)
@jbjonesjr
Copy link
Collaborator

@jbjonesjr jbjonesjr commented Aug 1, 2018

@ImgBotApp what imagemagick scripts are you running to reduce these images?

@dabutvin
Copy link

@dabutvin dabutvin commented Aug 1, 2018

ImgBot uses the LosslessCompress() routine.

Check out the compression code here, https://github.com/dabutvin/ImgBot/blob/master/CompressImagesFunction/CompressImages.cs#L115 and you can read more about how ImgBot works here, https://imgbot.net/docs

@mlinksva mlinksva closed this Sep 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.