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?
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.
John Fawcett said:The image is only for reference and obtaining correct size and location of the logo. It is not used as production art.
Here's a demonstration of what I described earlier, using the image you shared, and pretending that the real world distance were 51 cm from seam to seam at the top of the shoulders:
Although I did that working directly from the size at which the image imported, one could also start by roughly scaling up the image to make it easier to visually locate the reference line accurately before using the macro.
Yes! I understand now! That saves a number of steps. I'll give it a try. Thank you!
Have fun.
If you need to scale an image (or other content) based on a target horizontal or vertical dimension for a particular feature, then another approach is to use a PowerClip to do the job. This is one that I learned from Chris, who suggested that as a way to scale text (e.g., for sign) to achieve a specific height for a specific character.
heh... yeah... It wasn't much fun, that's why I wanted an easier way to get it done. I'm lazy! Ha!
That's basically the way I would have done it but they had this whole involved tedious routine that made my brain hurt. Ultimately, it isn't necessary to clip the image, they just need a close approximate size. The way I see it, they were doing far too much work for very little gain.