Jump to content

Recommended Posts

Posted (edited)

Hello,

I want to bulk create circles around several objects, is it possible with Publisher or Designer please? 

So I can get icons like these -> image.png.6fdb5f57997d7b1b8e5a67e8568c48a4.png

Perhaps by using grid somehow? (if there is possibility to place objects and graphics on the intersection point?) But then how to save them as separate objects? 🤔

 

Thank you for help!

Edited by George86
Posted

Data merge using svg originals
Generate then Export all pages to pngs
Dead quick

Bikes1.png

Bikes2.png

Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe
Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10

Posted

Would be a nobrainer if the Affinity suite would have scripting! - Though there are several other ways to do so via other batch/shell or python scripting methods etc.

For example via using ImageMagick ...

    circle64.png.3a74b7167606ef16f397b3068a505d29.png    +     inner32.png.4b66eaa566f26b44bb1fc91b84a03596.png   =     output.png.f9a5d485705d3e91d0a0060993b17734.png

 

  1. Creating a 512 x 512 transparent tomato colored circle here ...

    > convert -size 512x512 canvas:transparent -fill tomato -draw "circle 256,256 256,0" circle.png

    circle.png.32452a99f63cbd6e236712423c31eb1e.png

     
  2. Having some 512x512px inner.png run icon drawing, which we would like then to place as a 256x256px one centered into the circle.png and then also scale the whole down into a resulting image of 64x64 px ...

    inner.png.918560bdf379bad17a38fd3d19b8fc9c.png--->             inner256.png.57981f0c3cd9388fc367a438c6068c68.png
    > convert circle.png inner.png -gravity Center -geometry 256x256+30+5 -composite -resize 64x64 output.png


    The output.png result will be ...

    output.png.f9a5d485705d3e91d0a0060993b17734.png

 

Now in order to bulk generate several of these at once, we just have to write some batch/shell/python script which contains the series or IM convert command calls.

 

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Posted

Wow great help guys, thank you all!

Also these icons (changed or even unchanged) can be used in various project as well as commercial ones or on website without the need of giving credits, correct? 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • 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.