Jump to content
You must now use your email address to sign in [click for more info] ×

How to create a centered circle around objects in bulk


Recommended Posts

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

Using e.g. FontAwesome and Unichar formula to produce symbol glyphs in an Excel sheet and then fetching them with Data Merge (below 1,001 icons, with a colored ellipse in the background of a Data Merge layout cell) is not too bad, either:

image.png.cbb085a0908289bba368114a52c99677.png

Each icon is conveniently grouped, but background and stroke color and style could easily be changed en masse by using the Select Same > Fill Color command. As symbols are still glyphs of a font, their size and coloring could be changed equally easily by using the Select Object > Frame Text command.

[The example is a variation of file-based image merge shown above by @David in Яuislip which uses a sizing picture frame as a container of merge instead of a text frame. If the images are initially placed files, it would be easy to make them linked and then create a file list by using in-built features of the file system, e.g. in Windows by using Copy as Path command for files selected in File Explorer.] 

Link to comment
Share on other sites

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.