I've avoided using PhotoPAINT for nearly thirty years and am entirely unfamiliar with it, but I now have a situation where it is the perfect tool for the job.
Here's the situation:
- In CorelDRAW I've placed an image of a garment on a white background.
- I will then select the image and Edit Bitmap which will open the image in PhotoPAINT.
- Next, use Magic Wand Mask and select the white background.
- Go to Mask and Invert.
- Next, Copy and Paste, then delete the original layer.
- Now we'll Save which brings the image back into CorelDRAW with the overall bitmap now trimmed to the size of the garment in the photo.
- This is then resized to approximately full size so that a logo can be properly sized.
Question: Is it possible to record a macro that will do this process?
I don't know that I understand exactly what you are starting with, and exactly what result you are trying to achieve, so please bear with me if any of my questions seem silly.
Is it the case that you are starting with a picture of a garment - photographed on a white background - and you want to perform "background removal" on that image so that the background becomes transparent?
The end result is that the garment is essentially in a clipping shape that matches the outline of the garment as opposed to simply making the white background transparent. The way I understand it, they do this in order to enlarge the "clipped" image to approximate actual size.
John Fawcett said:The end result is that the garment is essentially in a clipping shape that matches the outline of the garment as opposed to simply making the white background transparent. The way I understand it, they do this in order to enlarge the "clipped" image to approximate actual size.
OK, think I get it. What they would get in CorelDRAW would still be a bitmap where the background had been made transparent, but that would also have had any "excess" background clipped off on the top, bottom, left, and right sides.
I can view those as two separate goals:
The second one - scaling an object based on some known real world dimension - can be accomplished very easily using my Match Vectors macro.
If you would like to see a short demo video, then it would be great if you could share a representative image, along with a real world size for some feature in the image (e.g., "from Point A to Point B would be 45 cm in the real world"). It does not need to be a horizontal or vertical measurement; could just as well be described by a diagonal line.
John what are you doing with the end result image and or CorelDRAW file then?
The image is only for reference and obtaining correct size and location of the logo. It is not used as production art.
The folks who are doing this lost an artist suddenly and I've been helping out. There is a tremendous amount of tedious, repeated steps and since I know how beneficial macros are I was hoping to find a way to automate the process with one or two clicks.
The image is enlarged (resolution is not important) to approximate height, say 29 inches high for a men's jacket, and that will act as a sort of template. Then the customer's logo can be overlaid and sized. An approval art will be generated as well as full size production art. Again, the image is only for reference and obtaining correct size and location of the logo.
For instance this image: https://cdnp.sanmar.com/medias/sys_master/images/images/h17/h71/11597098614814/11112-OliveGreen-5-J921OliveGreenFlatFront-337W.jpg
After running the image through the process I would end up with basically the jacket image clipped to the shape of the jacket. Simply knocking out the white still leaves me with a rectangle shape that is larger than the image.