Jump to content

Recommended Posts

Posted

Hello everyone,

I'm asking for your help with a problem I'm facing: I'm trying to get images of different sizes from an original photograph. Here are my specific questions:

  1. Is there a method to load an image only once and automatically resize it to predefined dimensions?
  2. Also, I need to apply this process to a large number of images. Is there a simple and efficient way to do this in series?

I thank you in advance for your valuable advice and recommendations. I am open to any suggestions and remain at your disposal for any clarifications.

james-webb.thumb.png.3f3d163be738be879e18a32bce4bbda5.png

I remain at your disposal for any clarifications,

6 cœurs, 12 processus - Windows 11 pro - 4K - DirectX 12 - Suite universelle Affinity (Affinity  Publisher, Affinity Designer, Affinity Photo).

Mais je vous le demande, peut-on imaginer une police sans sérifs ?

Posted

Use Photo, not Publisher, and use the Export Persona.

-- 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:  Windows 11 Pro 23H2, 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 18.3.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Posted
47 minutes ago, Pyanepsion said:

Is there a method to load an image only once and automatically resize it to predefined dimensions?

Assuming all images are the same initial size, a macro can do that

47 minutes ago, Pyanepsion said:

Also, I need to apply this process to a large number of images. Is there a simple and efficient way to do this in series?

Use File > New batch job with the above macro

To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.

Posted

While thinking about this, I wondered if there was a way to do it in Publisher since that's what Pyanepsion showed in his screenshot. Someday with scripts it should be easy but for now you'd have to use some tricks to make the same image appear at multiple sizes on a page.

  1. Draw a picture frame on Master A, the size and position isn't important because you'll change it later
  2. Create Master B and apply Master A to it (1 copy of the image)
  3. Create Master C and apply Masters A and B to it (2 copies of the image)
  4. Create Master D and apply Masters A, B, and C to it (3-4 copies of the image)
  5. Create Master E and apply Masters, A, B, C, and D to it (5-8 copies of the image)
  6. Repeat as required for the number of copies you want - this gets more tedious as times go on because you can apply only one master at a time and must be careful to not replace the master(s) already applied
  7. Edit the final master page and expand all of the layers in the Layers panel
  8. Right click each master and nested master in the Layers panel and edit it detached - Tips: It's easier to edit detached from the panel than the menu because it's more obvious which you want to edit, and you can edit multiple nested masters detached at the same time. So just right click every nested master and edit detached.
  9. Position and size each frame however you like
  10. Apply the final master to page 1

The attached document shows this in action with 8 copies of an image at different sizes on the same page. Go to Master A and place a different image in the frame and all 8 copies of the image will change on page 1. The Resource Manager will show that there is only a single copy of the image in the document.

Test.afpub

If I wanted to create a book with 100 pages, each with 8 copies of the same image at different sizes, I couldn't do it just like this because the image must be changed on the master page and not on the actual page. But if I wanted to do it, I could output page 1 as a PDF, change the image, output page 2 as a PDF, change the image, etc, and then combine the PDFs.

Posted

Superb demonstration. Well done MikeTo. Thank. However, there is still one major problem: you can only use it for one image. You can't make a collection of images.

6 cœurs, 12 processus - Windows 11 pro - 4K - DirectX 12 - Suite universelle Affinity (Affinity  Publisher, Affinity Designer, Affinity Photo).

Mais je vous le demande, peut-on imaginer une police sans sérifs ?

Posted
1 minute ago, Pyanepsion said:

Superb demonstration. Well done MikeTo. Thank. However, there is still one major problem: you can only use it for one image. You can't make a collection of images.

That's why we need scripting. 🙂 

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.