Jump to content

Recommended Posts

Posted

ich würde gerne einen automatisierten Workflow haben bei dem ich meinen vielen Bilder (als Macro oder Stapel?) in ein Quadrat verwandle. 

Beispiel mein Portraitfoto hat 3000x5000px und Photo soll erkennen das es die Leinwand auf 5000px erweitern muss um 5000x5000px zu erhalten.

Natürlich haben alle Fotos unterschiedliche Größen, so das Affinity selbst erkennen muss, welche Höhe / Breit vorliegt um diese zu ergänzen (Notfalls in zwei verschiedenen Automationen für Hoch- / Querformat). Ich hoffe es kommt verständlich rüber? Abschneiden möchte ich nichts....

das ganze soll dann weiter als png gespeichert werden (am Besten davor auf 2000x2000px reduziert).

Geht das irgendwie?

Posted
1 hour ago, Holgi666 said:

Beispiel mein Portraitfoto hat 3000x5000px und Photo soll erkennen das es die Leinwand auf 5000px erweitern muss um 5000x5000px zu erhalten.

D.h. es soll nur die Leinwand (den canvas) erweitern und somit nicht das Bild selbst mit skalieren/verzerren? Wie soll das Bild selber dann gehandhabt werden auf dem erweiterten Canvas, immer mittig zentriert eingefügt?

Falls ja (mittig zentriert), da hatte mal jemand ähnliche Anforderungen und ich hatte für so etwas mal ein Python script gezeigt was so etwas bulk mässig machen kann ...

Oder aber Du benutzt halt ImageMagick für soetwas ...

☛ 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

You can use a macro in a batch job - see attached
The macro will square the image then the batch job parameters can be set to resize the image as required
Be aware that resizing images usually requires sharpening afterwards so you could use a second batch job to apply a sharpening macro
Personally I'd use Imagemagick to do everything in one pass

BatchSquare.png

SquareImage.afmacro

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
2 hours ago, David in Яuislip said:

You can use a macro in a batch job - see attached
The macro will square the image then the batch job parameters can be set to resize the image as required ...

I doubt that, as the OP want's a solution which autdetects the longer side (w or h) of an image and then squares it accordingly to the longer side value. And the images can initially have different sizes and orientations here. At the end the whole should be saved as an 2k x 2k px PNG.

☛ 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
9 hours ago, v_kyr said:

I doubt that, as the OP want's a solution which autdetects the longer side (w or h) of an image and then squares it accordingly to the longer side value. And the images can initially have different sizes and orientations here. At the end the whole should be saved as an 2k x 2k px PNG.

Yes you're right, that is exactly what i need.👍

Posted
12 hours ago, David in Яuislip said:

You can use a macro in a batch job - see attached
The macro will square the image then the batch job parameters can be set to resize the image as required
Be aware that resizing images usually requires sharpening afterwards so you could use a second batch job to apply a sharpening macro
Personally I'd use Imagemagick to do everything in one pass

BatchSquare.png

SquareImage.afmacro 987 B · 1 download

i work well, thank you very much,.... perfect

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.