Jump to content
THESE FORUMS ARE READ-ONLY: Please Read Me ×

Recommended Posts

Posted

I want to extract parts in a specified size from an rasterized image.

 

For example every shoe from this image. Sneakers

 

I want the size of the extracted images are consistent. Like 2 x 2 cm for every shoe image.

 

How do I do this?

Famous Sneakers.JPG

Posted
2 hours ago, Dan C said:

Using Vector Masking is likely the best option here

Agreed, although I would recommend using rectangles that are only slightly opaque so that you can see the image underneath. This makes it much easier to adjust the sizes and positions to make sure you only get one whole shoe in each cell of the grid.

Instead of creating 55 small rectangles — one for each shoe — create one wide rectangle and one tall rectangle:

IMG_4588.thumb.jpeg.64c7c66c163b3ddec83ec97e8c5e8996.jpeg

Duplicate the wide rectangle 10 times and the tall rectangle 4 times to make a total of 11 rows of wide rectangles and 5 columns of tall rectangles. Select all of the rectangles and use the Divide command on the Edit (‘…’) menu to create a grid of small rectangles from the overlapping large ones. Even with careful snapping, you’re very likely to end up with several tiny rectangles that you don’t need, but you can easily select and delete them via the Layers Studio.

IMG_4587.thumb.jpeg.9916a974ca355fe988947683da0ef3ea.jpeg

You also need to duplicate the shoe layer so that you have a total of 55 copies. Once you’ve done that, drag one of the coloured rectangles and drop it onto the thumbnail of one of the shoe layers. This will crop/mask the image so that you only see one shoe, and the cropping rectangle will become invisible.

IMG_4591.thumb.jpeg.254d9b03298260a2c4315bc53437d769.jpeg

Repeat the cropping/masking steps to isolate each of the remaining shoe pictures.

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.5.1 (iPad 7th gen)

Posted
20 minutes ago, Mainecoon364 said:

How to export them as individual files for each shoe?

 

The Export Persona should allow you to create Slices for the Rectangles, and export to individual files.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop 1:  Windows 11 Pro 24H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 26.0, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.6.1

Posted
14 hours ago, Mainecoon364 said:

@Alfred Do I duplicate the base layer 55 times and drag the grids into them one by one for masking?

There might be a quicker way, but that’s what I did. I couldn’t see an efficient way to do it with slices.

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.5.1 (iPad 7th gen)

Posted

After creating Grids like you did (Creating column and row rectangles and apply edit - divide to them)

 

A lot of layers come up… (which are individual shoes)

 

I don’t understand how do we do It in quicker way after this step.

 

Could you tell It in detail this part please?

Posted

As I said, I couldn’t see a quicker way. I ended up with the layers that you see in my last screenshot (Curve, Curve, Curve, … Background, Background, Background) and then I mask-nested each of the 55 curve layers to the corresponding picture layer to isolate that particular shoe.

EBEEDA01-7E9E-47F4-BAA7-8011F58C9383.thumb.jpeg.dc8ed11a611315265d7b1e840b3169c0.jpeg

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.5.1 (iPad 7th gen)

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.