Jump to content

Recommended Posts

Hi

 

I'm using Affinity Designer to create icons.

 

I a single layer, I have an icon with 7 sizes.

 

My slices names as like this:

 

_16x16

_32x32

_64x64

 

etc.

 

When I'm in the Export Persona, I select "Slices" and clicks "Export slices", then I enter a name like "MyIcon".

 

Is there a way to tell Affinity Designer to merge the exported filename "MyIcon" into the slicename, så the slice names will end up as...

 

MyIcon_16x16

MyIcon_32x32

MyIcon_64x64

 

...?

 

That way I can reuse the layer, change the icons and export it with a new name like "MyNewIcon" and it will automatically export slices as ..

 

MyNewIcon_16x16

MyNewIcon_32x32

MyNewIcon_64x64

 

I would like to call the slice names something like...

 

{filename}_16x16

{filename}_32x32

{filename}_64x64

 

etc.

 

Thanks

Link to post
Share on other sites

You can customize the slice file output naming in the Export Persona under the top "path components" settings via a combination of text and the available variables. See also this thread where some of these things are discussed inside:

 

☛ Affinity Designer 1.9.3 ◆ Affinity Photo 1.9.3 ◆ OSX El Capitan

Link to post
Share on other sites
3 hours ago, v_kyr said:

You can customize the slice file output naming in the Export Persona under the top "path components" settings via a combination of text and the available variables. See also this thread where some of these things are discussed inside:

 

 

Thank you for answering my post.

 

Not exactly what I'm looking for.

 

When you click "Export slices" a save-dialog appears ... the name you enter as filename in this dialog, that is the name I want to prefix on all slices.

Link to post
Share on other sites
1 hour ago, Mojo said:

save-dialog appears

 

Save dialog allows you to define only the disk name. This is necessary, because the file path definition in Export Persona is only relative.

Affinity Store: Affinity Suite (ADe, APh, APu) 1.8.5.703.
Windows 10 Pro, Version 20H2, Build 19042.610.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080.
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200.

Link to post
Share on other sites

If the icon is square then the square size variable is adequate.

 

5ab9fb87acf18_ScreenShot2018-03-27at09_05_35.png.f8884dfcd7f7f1385c8ae67ee2ef3bd6.png

 

5ab9fb86db1e7_ScreenShot2018-03-27at09_02_35.png.0c0e2ecdea24f5454a35d736c5f08cd2.png

 

If you prefer w x h

5aba007272cc5_ScreenShot2018-03-27at09_25_55.png.505b927555ea8aa8ac1862d4ca57b852.png

iMac 27" Late 2015 Fully Loaded, iMac 27" Mid 2011 both running High Sierra 10.13.6 - Affinity Designer/Photo & Publisher - Illustrator CC, Inkscape, Blender, Sketchup, Pepakura Designer, MTC, Pixelmator & Pixelmator Pro + more... XP-Pen Artist-22E, - iPad Pro 12.9 B|  

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to post
Share on other sites

icons.thumb.gif.b45968a88c620712c83ee2211f0ce06f.gif

iMac 27" Late 2015 Fully Loaded, iMac 27" Mid 2011 both running High Sierra 10.13.6 - Affinity Designer/Photo & Publisher - Illustrator CC, Inkscape, Blender, Sketchup, Pepakura Designer, MTC, Pixelmator & Pixelmator Pro + more... XP-Pen Artist-22E, - iPad Pro 12.9 B|  

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to post
Share on other sites
  • 2 years later...
On 3/26/2018 at 1:12 PM, Mojo said:

I would like to call the slice names something like...

 

{filename}_16x16

{filename}_32x32

{filename}_64x64

I have the same question (that was never answered). Does anyone know how to do this?

2018 iPad Pro 12.9” | Apple Pencil 2 | Affinity Designer for iPad 1.8.6 | Affinity Photo for iPad 1.8.6 | Affinity Publisher for iPad?

2019 MacBook Pro 16” | Affinity Designer 1.8.4 | Affinity Photo 1.8.4 | Affinity Publisher 1.8.3

https://www.instagram.com/cealcrest/

Link to post
Share on other sites
  • 1 month later...
On 3/26/2018 at 10:12 PM, Mojo said:

I would like to call the slice names something like...

 

{filename}_16x16

{filename}_32x32

{filename}_64x64

Hi,

 

I have exactly the same need and can not find answer if and how it's possible.

Thanks, regards

joker

Link to post
Share on other sites
37 minutes ago, joker said:

I have exactly the same need and can not find answer if and how it's possible.

Did you look at the instructions from firstdefence?

Affinity Store: Affinity Suite (ADe, APh, APu) 1.8.5.703.
Windows 10 Pro, Version 20H2, Build 19042.610.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080.
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200.

Link to post
Share on other sites
9 minutes ago, Pšenda said:

Did you look at the instructions from firstdefence?

You mean the film? Yes. But I cannot see that firstdefence is using the filename to define the exported slice name. He is using the slicename variable, which I would like to use for something else...

I want to create a template with artboards for different social media. So the slice name is for example "insta post", "insta story" or "fb post". When I use this this template to create content for different media, I would like to throw in the file name of the Affinity Document so not all exports have the exact same file name...

Edited by joker
Link to post
Share on other sites

And why don't you write some text there?
image.png.81e61c814d57d9f885ece592b725887e.png

Affinity Store: Affinity Suite (ADe, APh, APu) 1.8.5.703.
Windows 10 Pro, Version 20H2, Build 19042.610.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080.
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200.

Link to post
Share on other sites
Just now, Pšenda said:

And why don't you write any text there?
image.png.81e61c814d57d9f885ece592b725887e.png

Because it's a template and there are several slices which should use this variable. I tried User variables, but it get's created only on one slice. The use of this is unclear to me, too ;-)

Link to post
Share on other sites
  • 2 months later...
  • 5 months later...

srsly...

  • Main machine: iMac (21,5-inch, Late 2013), 16GB RAM, 1TB nvme + 2TB ssd, running on 10.14.6 Mojave;
  • Display setup: 27" Thunderbolt Display (primary) + 21,5" iMac-Display for studio panels (secondary);
  • Keyboard layout: german apple extended keyboard (aluminium);

 

Link to post
Share on other sites
  • 4 weeks later...

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

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. These are the Terms of Use you will be asked to agree to if you join the forum. | 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.