Jump to content

Serious Bug. Exporting Pages as Jpgs. Publisher Ver 2.4.2.


Recommended Posts

Serious Bug. Exporting Pages as Jpgs. Publisher Ver 2.4.2.

 

While exporting pages as jpgs, to post a sequence of jpgs on a web gallery.....  Affinity Publisher allocates the name per page as the FileName plus sequence number..... 

 

but... a very basic error.... the sequence number needs to have leading zeros.   

 

Otherwise, the images will have the wrong sequence... 

 

eg, 8,9, 10 will appear in the sequence 10,8,9.....

The sequence should be 08,09,10  or 098,099,100 .... depending on the number of numerical digits.

 

See the attached example.

 

I did not notice this at first.... as Windows seems to recognise the sequence in which the files were created... and Adobe Lr sorts the images automatically in date of capture, but the Adobe Web Gallery sorts in strictly Alpha sequence... leaving a mess in the gallery.... as the images lose their very valuable sequence.

 

So, Affinity Publisher is processing the pages in the correct sequence... creating the jpgs in the correct sequence, allocating the correct sequence number.... but is not filling in leading zeros for the sequence number.

 

 

 

image_2024-04-29_132443740.png

Link to comment
Share on other sites

This doesn’t look like a bug to me, just some optional functionality that hasn’t been implemented.

If it were to be implemented, how many leading zeroes should there be and how would that be controlled?

You said “depending on the number of numerical digits” but you didn’t say “...number of numerical digits in <what>”.

For instance, if the document has 200 pages and the software used the number of document pages to define the number of digits – e.g. three-digit page numbers = three-digit numbers in the exported name – then exporting pages 5 to 8 would give numbers of 005, 006, 007, and 008.

But what if the user only wanted the single digit values of 5, 6, 7, and 8, or values without leading zeroes in general, because that’s what their software required?

Link to comment
Share on other sites

Thanks for the prompt reply.

It takes one or two lines of code to cater for leading zeros when formatting a string which contains a numeric segment. Affinity knows this number of pages in the document and or the number of pages been exported.

It is also possible for Affinity to provide the end user a choice, but I searched and failed to find this option. I would be delighted to discover if such an option exists. 

Also, I doubt if very many people will have gone to the effort to  sequence pages in a document and then export the pages as jpgs with the sequence altered.

I do not mind how this item is classified (bug, enhancement, feature) ... but the current behaviour needs to be corrected.

 

 

 

 

 

Link to comment
Share on other sites

Where would you suggest that the option for this be given to the user?

At the application Settings level, or at an Export Preset level, or at a document level, or a mixture of those, or somewhere else?

Link to comment
Share on other sites

My initial thought would be at the point of export....   but I can see value of keeping it also at the Export Preset or even at general parameter level ...  

Yes... this will need more coding... and I know and understand this will need consideration of the detail at perhaps the Product Manager level. 

 

Also, this may be applicable across multiple products, so I can see how this might grow legs.

But a short term fix might be to use a single line of code to insert the number segment with leading zeros....

Any I will also accept.... it may not be as simple as that...

 

Now that I am aware of the problem ... I have the skills to work around this....

but I am trying to encourage photographers to improve the quality of the presentation of their images, using the Data Merge option to add well formed metadata such as  Titles, Location, Date, Copyright , etc... see sample attached....

Such an audience will get lost trying to re-sequence such files.

 

image.thumb.jpeg.2c771ededc5e301d5faeb8c5252a34fc.jpeg

Link to comment
Share on other sites

7 minutes ago, Gnits said:

But a short term fix might be to use a single line of code to insert the number segment with leading zeros....

Unfortunately, doing so, as a kind of ‘quick fix’, may cause problems for people who rely upon the functionality working as it does now as the software they might be using for a similar thing might not be able to cope with the leading zeroes.

An alternative might be to ask Adobe if they can change their software to cope with numbers that don’t have leading zeros.

Link to comment
Share on other sites

"And also ask Microsoft and Apple and all other interested parties to recognise trailing numbers in a filename."

I do not think that is feasible.

I have made my point.   I will leave it to Affinity to decide if my post has any value.

Either way.... I am not going to promote Adobe Publisher to photographers until they can get a list of images from an Affinity document in the same sequence as the document contents.

 

Link to comment
Share on other sites

35 minutes ago, Gnits said:

And also ask Microsoft and Apple and all other interested parties to recognise trailing numbers in a filename."

I do not think that is feasible.

Some already do. Here's the Files app on iPadOS, for example, with a "sort by name". I'm pretty sure File Explorer will do that, too, and probably Finder on macOS (but I can't check there, right now). It's becoming increasingly common, in my experience, for applications to manage that "natural" sorting themselves when using the files.

 

image.png

-- 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.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Link to comment
Share on other sites

4 hours ago, Gnits said:

but the current behaviour needs to be corrected.

Yep but don't hold your breath. Many programs do this and it's annoying. The attached bat file will sort out the first 9 so ok for up to 99 total, over that and it will need some Powershell, possibly Python. Watch this space

rename9.bat

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

Link to comment
Share on other sites

I've been able to check File Explorer and Finder, now, and both use a natural sort where the order will be 1, 2, ..., 9, 10 without the need for leading 0s.

I would suggest asking the web gallery to change its display order to match what seems to be becoming the standard.

 

-- 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.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Link to comment
Share on other sites

Response appreciated. Thanks for the bat file. In my case I can manually enter the zero for the 1-9 sequence.

Mostly, I will have less than 100 pages. If I had larger volumes I could use Python, MatLab or VB , depending on needs. 
 

I suspect most cases may have less than 100 pages, but documents greater than 100 are not rare….. so it will be a persistent problem.

My main worry are the many photographers I deal with who would not know how to solve such a problem.

I will not hold my breath…. I mainly wish to flag the issue.

I am familiar with large scale enterprise level system building… so I appreciate the effort to cater for even the smallest tweak.

 

 

Regards.

Link to comment
Share on other sites

The web gallery is supplied as part of the Adobe  Creative Cloud solution set.  I have given up making requests to Adobe. 
 

Affinity Publisher is a relatively new product and its Data Merge Tool is the best I have found so far. I have made requests to Affinity / Serif in relation to the Data Merge tool, which were well received.  I was hoping that the product was in an early enough phase of its development that these tweaks might be catered for.

I do accept your point re natural sequence of numbers in filenames. I did notice and was surprised that Windows sorted the files in a natural order. That is why I did not notice the issue until I uploaded the images to the Web Galley.

I will watch for an opportunity to make the suggestion to Adobe… but “I will not hold my breath”.

 

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.