Guest
Feb 23, 2012, 1:51 am UTCHome arrow Front Blog arrow Image Cut/copy/paste - Fox Patch Editor 1.3.680
header image
Image Cut/copy/paste - Fox Patch Editor 1.3.680
Written by Dream Dancer   
Aug 31, 2008 at 12:00 AM

Well, before I bug out for a possible extended enforced vacation, I thought I'd put up my latest build which supports Cut, Copy, & Paste of images. And also the selection of parts, or all, of images and moving them about on the drawing surface.

Here's what supposed to work:

Using the Selection Tool, you outline an area of the image, then with a right-click of the mouse, you will be put into grab mode where you can grab (anywhere) on the image and drag your selection to where you want it to be.

When in Select mode, a MIDDLE click of the mouse will clear the current outline.

When in Grab mode, a MIDDLE click of the mouse will temporarily hide the outline.

A right-click when in Grab mode will finalize the move and return you to select mode.

Pressing delete when in either mode, if there's a selection, it will be deleted.

Pressing the CTRL key with Right-Click when in Grab mode will cause a clone to occur, if you move the still highlighted selection out the way, you will see your paste beneath it. If you press the SHIFT key when Right-Clicking, you will cause the paste to KEEP the background color of the selection. You can press both at once.

CTRL+X will cut the selection out and put it to the clipboard, CTRL+C will copy it to the clipboard. This is supposed to be standard clipboard image which should paste into other programs, I only have so many different programs which accept image pasting to test with. Likewise, if the clipboard contains an image the program is designed to work with, it will paste it to the image, in Grab mode, so you can position the paste where you want it.

Selecting any other drawing tool will cause any outstanding Grabs to become finalized. Selecting the Select tool, if you had a valid Grab in the "Hot Window" will cause it to become finalized.

CTRL+A will select all the "visible" pixels in the image and enclose them into a selection outline. Note that visible pixels are non-transparent colored pixels in the image, which means that non-furcadia colored images will act funny. When in Grab mode, if there is no selection, left-clicking will cause the program to execute the Select All.

Zooming does not clear the selection or grab.

By default, all new image windows are created in the furcadia palette, if you want a 32bit image window, you should convert it first. If you didn't read this post, then you have no idea how to do that.

Images opened from a patch file are opened with the furcadia palette, with the exception of 32bit images that is. Images opened from a file are opened with whatever palette or color organization they were stored in.
Exception: Due to me not handling something correctly with the system, 16bit images are opened in 24bit mode.

When pasting images, they will be converted to whatever color organization exists in the image window at the time, for the most part, you won't catch this strangeness, unless it's drastic, and only after you conduct some other action on the image, like resizing, but here's an example of what happens when you paste a 24bit full color spread into the furcadia palette:
http://i19.photobucket.com/albums/b184/ddancer/colors-8.jpg

This will be addressed at a later date when I have more time available to create the process by which a paste will assume the color organization of the target image.

Last Updated ( Oct 11, 2008 at 01:13 PM )
header image