Printable Version of Topic

Click here to view this topic in its original format

PMView Pro Forums _ PMView - General Discussion _ Filling in the voids

Posted by: Larry Bristol Jun 13 2000, 07:53 AM

I often find myself wanting to expand the size of an image (either horizontally or vertically) without otherwise affecting the image.

For example, I might have an image at 400x500 pixels that I need to make square (say 500x500). Cropping the image to 400x400 and then expanding it is not an option, and neither is making a non-proportional expansion of the image to 500x500; both of these would have a significant impact on the original image.

My work-around solution is to expand the size of the display window, open another instance of PMView so that I can "Capture" the image in the first instance, fill in the black background with the desired background color, and finally crop the result back down to 500x500.

This procedure seems like a kludge. Unless there is an obvious way to do this already (that I have overlooked), I would like to see an option added to change the size of an image by adding pixels, filled in with a default background; the opposite of cropping, if you will.

Posted by: Peter Jun 13 2000, 10:30 AM

Hi Larry,

Try this:
1. Load the image
2. Edit->Copy
3. File->New->Image 500x500
(Color->RGB Balance to get the desired background color)
4. Edit->Paste->As Selection.

Best regards,

------------------
Peter Nielsen (peter@pmview.com) "If you can dream it, you can do it" JFK.

[This message has been edited by Peter (edited June 13, 2000).]

Posted by: Larry Bristol Jun 15 2000, 07:23 AM

That way is certainly a lot easier than what I was doing - thanks!

In fact, it seems to be about as easy as my suggestion. And since it requires no additional coding...

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)