» About     » Archive     » Submit     » Authors     » Search     » Random     » Specials     » Statistics     » Forum     » RSS Feed     Updates Daily

No. 4225: Seam Carfield

First | Previous | 2020-12-12 | Next | Latest

Seam Carfield

First | Previous | 2020-12-12 | Next | Latest

Permanent URL: https://mezzacotta.net/garfield/?comic=4225

Strip by: wye

SFX: GLITCH!
Off-screen voice: RATS!!
{A disgruntled mouse walks in, tossing away a knife}
Mouse: You just can't carve a grape

The author writes:

Using content-aware scaling on a Garfield strip has been done before, but because I implemented this one from scratch myself, I thought it'd still be worth submitting.

This kind of scaling uses a process called seam carving: to shorten an image horizontally by one pixel, identify a continuous seam going from top to bottom (connecting pixels diagonally counts as continuous) that passes through the least interesting parts of the image, then remove the pixels along that seam. I simply repeated that process until the strip compressed to a size I decided I was happy with.

The outcome isn't spectacular, probably because 1) my implementation is almost certainly flawed and 2) the original strip doesn't have a lot to reasonably cut out. Still, looking at it for a while and then comparing it with the original strip, that one looks positively spacious!

(In hindsight, using a strip like the 1997-11-08 one would have made for a better joke, because it literally features a content-aware scale.)

Original strip: 2018-10-27.