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

Affinity publisher issues with GIT source control and images


SeanMc

Recommended Posts

Hiya,

I've recently bought licences for publisher, designer and photo for my self and my partner (loving the tools).

Before we start the next book, I would like to understand how best to use the tools due to some issues we have struggled with.

For many years we've been using GIT for source control which we have just used for a new book, the book we have created is very image-heavy, we have a directory where we keep them all for the book.

We have been using master templates and the picture frame rectangle tool for most of the images - our images are kept in a sub-folder and we browse to them via the picture rectangle tool placeholders.

When edits have pushed to GIT (origin) and then pulled down by my partner to edit, all the images are present but blurred and need re-linking according to the resource manager; we have precisely the same folder structure on each computer so this seems a little strange.

Secondly, when I make small edits to eps images (in affinity designer mode but still within publisher) - my changes are not present when pulled down by my partner.

Is there a specific guide I should be following for working with source control and images using these products?

Thanks,

Sean.

Edited by SeanMc
Link to comment
Share on other sites

For your first problem, what is the exact directory structure on the two Windows computers?

For your second one, in Publisher 1.7, when you make changes to a linked document file (PDF, .afphoto, .afdesign, .afpub, SVG, EPS, etc.) using the Photo Persona the changes are made only locally within the Publisher document. They do not affect the original file.

It is different for linked image files (JPG, TIFF, PNG), where editing using the Photo Persona changes the original file, and optionally the copy inside the Publisher document.

The 1.8 beta has changes in this area, which (at this point in the beta) make linked document files and linked images work consistently, I think, with edits to both being saved to the original file.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

Hi Walt,

Thanks for coming back to me.

The windows directories containing the images are both: C:\codersphere\codersphere-book-building-a-robot-with-scratch\Building a robots head with scratch\Assets

Not sure if it makes a difference but both machines are on Windows 10.

Updated: Thanks for the info on the 1.8 beta - good to know, for now, I'll make sure I overwrite the original.

Kind regards,

Sean.

Edited by SeanMc
Link to comment
Share on other sites

5 minutes ago, SeanMc said:

The windows directories containing the images are both: C:\codersphere\codersphere-book-building-a-robot-with-scratch\Building a robots head with scratch\Assets

Thanks.

And what directory contains the .afpub file?

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

1 hour ago, SeanMc said:

that is here: C:\codersphere\codersphere-book-building-a-robot-with-scratch\Building a robots head with scratch\building-a-robots-head-with-scratch.afpub

Thanks.

In that case, I have no idea why the images aren't being found properly. That directory structure seems correct, to me.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

  • 2 weeks later...
  • Staff

Hi both,

This is the expected behaviour. Even though the file is the same, it's going to have a different modified date. However, the files should only be "modified" in the resource manager, so would be sufficient just to update them. What you can do is tick "Automatically update linked resources when modified externally" in Preferences > General, but beware that this will auto-update every resource when modified externally without asking. 

Link to comment
Share on other sites

hi Gabe,

I had that ticked already I'm afraid, I thought that would have done it.

We're about to start our next project shortly so I'll try and see if I can get steps to replicate... we were probably 100 pages in before we noticed the issue and started applying potential fixes such as the auto-update... maybe a fresh project with that ticked will do it.

I'll report back if I can reproduce on the new project (or if it was user error on my part somehow).

Kind regards,

Sean.

Link to comment
Share on other sites

  • 1 year later...

I've also been dealing with this in in Git. Both bitmap (PNG) and vector (SVG) images are affected by this, although only the bitmap images are blurred, it resets the settings when this happens as well. I've been having to go through and manually reset the settings on each image after a `git pull`.

1547367199_ScreenShot2021-11-19at11_28_58AM.png.1c59b1b20c00a687c59ac54883a37c6a.png

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.