Jump to content

Recommended Posts

I placed an image into a Publisher document page and added text within the image area. After grouping all of the elements, with the group selected I exported to JPEG ("Selection with background"). The resulting JPEG file contained a thin white border that was not in the original file. Then I tried exporting using the "without background" setting. Same result. Then I tried it as a PNG ("selection with background"). Same result. Next I tried it as a PNG without background and finally the thing was exported without the thin white rule.

This has happened several times when I've exported a selection to JPEG. (The quality setting is always 85 or higher.) So it doesn't appear to be some peculiarity of a particular image.

I don't want to have to export first to PNG, then open the PNG file in some other program and re-save as JPEG. Is there some way to save from Publisher to JPEG without the unwanted rule around the image?
 


Affinity Publisher and Photo 1.8.3 (Windows). Lenovo laptop with decidedly sub-optimal monitor. At least it works.
“The wonderful thing about standards is that you can have as many of ’em as you want.”
– Anonymous cynic

Share this post


Link to post
Share on other sites

Is your image completely on pixel boundaries?
In other words, are all of the X, Y W and H values in the Transform Panel for your image layer all integer pixel values?

Share this post


Link to post
Share on other sites

W and H are integer values. X and Y are not. So I reset X and Y as integer values, then exported again. Same result—thin white rule.

 

 


Affinity Publisher and Photo 1.8.3 (Windows). Lenovo laptop with decidedly sub-optimal monitor. At least it works.
“The wonderful thing about standards is that you can have as many of ’em as you want.”
– Anonymous cynic

Share this post


Link to post
Share on other sites

Are they integer pixel values or just integer values in the document’s unit of measure?
Also, how do you know that they are integer values? (A displayed integer value may not be an actual integer value if the number of displayed decimal places is not enough to show it with precision. E.g. 10.001 may just show as 10.)

Share this post


Link to post
Share on other sites

The document units setting is Pixels. Is that sufficient to determine if they are integer pixel values? If not, what additional settings should I adjust to find out?

 


Affinity Publisher and Photo 1.8.3 (Windows). Lenovo laptop with decidedly sub-optimal monitor. At least it works.
“The wonderful thing about standards is that you can have as many of ’em as you want.”
– Anonymous cynic

Share this post


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

The document units setting is Pixels. Is that sufficient to determine if they are integer pixel values? If not, what additional settings should I adjust to find out?

In Preferences > User Interface you can set the "Decimal Places for Unit Types" to various values for each unit type. This controls only the display of those numbers in fields, not the actual values. So it is a good idea to set those preference values to at least 2 decimal places.

Alternately, you can enter the values directly into the Transform panel, so if you type integer values that is what will be used.


Affinity Photo 1.8.3, Affinity Designer 1.8.3, Affinity Publisher 1.8.3; macOS Mojave 10.14.6 iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM
Affinity Photo 
1.8.3.180 & Affinity Designer 1.8.3.2 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 13.3.1

Share this post


Link to post
Share on other sites
10 hours ago, R C-R said:

Alternately, you can enter the values directly into the Transform panel, so if you type integer values that is what will be used.

That's what I did after seeing a previous reply in the thread: repositioned the image (a group consisting of image+two text frames) by entering integer values into the Transform panel.

 


Affinity Publisher and Photo 1.8.3 (Windows). Lenovo laptop with decidedly sub-optimal monitor. At least it works.
“The wonderful thing about standards is that you can have as many of ’em as you want.”
– Anonymous cynic

Share this post


Link to post
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.


×
×
  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. 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.