Hirosaji's illustratiton portfolio
My portfolio as illustrator work
Content Page
https://hirosaji-portfolio.com/
Development
Setup
npm install
Local Run
You can run code on your local machine by:
npm run server
Minify image
I'm using the Google Pagespeed Insights image optimization guidelines, and for ImageMagick they recommend the following:
- sampling-factor 4:2:0
- strip
- quality 85 [it can vary, I use range 60-80, lower number here means smaller file]
- interlace
- colorspace RGB
Command in ImageMagick:
convert image.jpg -sampling-factor 4:2:0 -strip -quality 85 -interlace JPEG -colorspace RGB image_converted.jpg
License
ISC license
Copyright (c) 2020-2021 Hirosaji