"clone"/extend right most column of pixels to fit available space
Posted: 2015-01-25T20:18:51-07:00
How to use PerlMagic to duplicate/extent the right most column of pixels from an image to fit a given width.
See the masthead image at the top of http://brian.toastmastersclubs.org, for example. I want to be able to dynamically vary the width of this image to adapt it to varying user screen widths by duplicating the right most column of pixels in the image to fill the empty space on the left and right sides of the image.
See the masthead image at the top of http://brian.toastmastersclubs.org, for example. I want to be able to dynamically vary the width of this image to adapt it to varying user screen widths by duplicating the right most column of pixels in the image to fill the empty space on the left and right sides of the image.