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.
We used to do quite a few apparel files. In those days the internet wasn't as fast as today so all proofs were set to scale on small images.
T shirts had 6 sizes, Draw template files were created for each size with 2 rectangles created, one for a full chest print and one for a *** logo, an additional page if a back print was needed. Art was created to fit the size requirements, most had all 6. Same for hoodies and jackets.
High quality captures were made of all the apparel and for the working files the captures were imported based on client needs, scaled to fit the rectangles, the art was simply dropped onto an image, saved for output and scaled down for proofing. We sent JPG in the early days, then PDF files, as high speed internet became available we didn't scale down for proofing. I got out of it years ago.
I imagine the print area of apparel hasn't changed much in size since then.
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.