Shrink images to the size they are actually used #152
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Also adjust pixel dimensions very slightly so that all images are the exact same dimensions. We're talkin' one- or two-pixel changes, but the misalignment is noticeable if you look closely. All of the content-type images were resized to 600x400, and the DPI for some images was reduced to 72 pixels/inch (they were sometimes as high as 150 px/inch). For digital-notebook.jpg, I cropped out the part that wasn't being displayed. Its position is shifted slightly due to that change, but it's still centered and everything.
These changes result in a visual improvement. Not only does it fix the aforementioned aspect ratio mismatches, it improves the quality of the scaled-down images. I guess the browser did a poor job scaling the images down, because more detail is visible in the scaled-down versions.
Fixes #150.
Size changes
This means these images are ninety-nine percent smaller with no noticeable degradation in quality. 😸