Jump to content

Original and Placed PDF DPI is Shown Incorrectly in Publisher V2


Hangman

Recommended Posts

I'm unsure if this is already logged but when placing PDF files in Publisher v2.X, the reported 'Orignal' and 'Placed' dpi in Resource Manager is incorrect...

Left - PDF Files Placed in 300 dpi Publisher 1.10.6 Document | Right - The Same PDF Files Placed in 300 dpi Publisher 2.X Document

PlacedPDFFiles.thumb.png.9fa7bb37936de7094972de2d4155b7bd.png

Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5
Affinity Designer Beta 2.6.0.2861 | Affinity Photo Beta 2.6.0.2861 | Affinity Publisher Beta 2.6.0.2861

MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Link to comment
Share on other sites

Hi @stokerg,

I've uploaded two files for you via the DropBox link...

A little more testing reveals the following with two PDF files both exported at 300 dpi from Publisher.

Open the Diageo PDF file in both 1.10.6 and 2.X

If you open the Diageo pdf in Publisher and leave the dpi setting as Estimate :

  • Select page 1 only and Publisher estimates the dpi to be 144 dpi
  • Repeat but this time select pages 1 -4 and Publisher again estimates the dpi at 144 dpi
  • Repeat but this time select pages 1 -5 and Publisher estimates the dpi at 300 dpi

Open the IKEA PDF file PDF file in both 1.10.6 and 2.X

If you open the IKEA pdf in Publisher and leave the dpi setting as Estimate :

  • Select page 1 only and Publisher estimates the dpi to be 144 dpi
  • Repeat but this time select pages 1 -2 and Publisher estimates the dpi at 192 dpi
  • Repeat but this time select pages 1 -3 and Publisher estimates the dpi at 300 dpi

So far, so estimated which I assume Publisher is possibly doing based on the content of the respective pages, though that doesn't tie up completely.

The difference comes when you then place those same PDF files in 1.10.6 and 2.X respectively.

Diageo PDF - V1

  1. Create a 300 dpi, 224 mm x 297 mm Publisher document in both 1.10.6 and 2.X
  2. Place page 1 of the Diageo PDF in both versions of Publisher
  3. In 1.10.6 it's placed at 300 dpi and Resource Manager shows both the Original and Placed dpi for the pdf at 300 dpi
  4. In 2.X it's placed at 144 dpi and Resource Manager shows both the Original and Placed dpi for the pdf at 144 dpi

Diageo PDF - V2

  1. Create a 300 dpi, 224 mm x 297 mm Publisher document in 2.X
  2. Place pages 1 - 6 of the Diageo PDF in the Publisher document
  3. All six pages are placed as 300 dpi at 100% and the placed page dimensions are accordingly 107.5 mm x 142.6 mm
  4. Resource Manager shows the Original dpi as 144 dpi

IKEA PDF - V1

  1. Create a 300 dpi, 210 mm x 276 mm Publisher document in both 1.10.6 and 2.X
  2. Place page 1 of the IKEA PDF in both versions of Publisher
  3. In 1.10.6 it's placed at 300 dpi and Resource Manager shows both the Original and Placed dpi for the pdf at 300 dpi
  4. In 2.X it's placed at 144 dpi and Resource Manager shows both the Original and Placed dpi for the pdf at 144 dpi

IKEA PDF - V2

  1. Create a 300 dpi, 210 mm x 276 mm Publisher document in 2.X
  2. Place pages 1 - 6 of the IKEA PDF in the Publisher document
  3. All six pages are placed as 300 dpi at 100% and the placed page dimensions are accordingly 100.8 mm x 132.5 mm
  4. Resource Manager shows the Original dpi as 144 dpi

 

This actually relates to an issue I posted in relation to password-protected PDF files, which I originally thought was the cause of this issue, though I appreciate that the thread is currently closed for the current Beta.

Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5
Affinity Designer Beta 2.6.0.2861 | Affinity Photo Beta 2.6.0.2861 | Affinity Publisher Beta 2.6.0.2861

MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Link to comment
Share on other sites

Hi @stokerg,

The source files in both cases were pdf files, both opened and edited in a 300 dpi v2 Publisher document and exported to pdf at 300 dpi then placed in v1 and v2 respectively so my expectation would be that the exported pdf files should display the same in both v1 and v2...

Likewise, you also have the discrepancy between placing just the first page vs placing multiple pages from the same pdf file which doesn't seem right...

22 minutes ago, stokerg said:

From speaking with QA the size should be calculated from the document DPI and the placed size.

This would suggest that v1 is placing the pdf correctly and v2 incorrectly... While the document dpi for the v2 Publisher files is 300 dpi, exported at 300 dpi they are reported as follows in Resource Manager...

Diageo PDF Placed in v2

  • Page 1 only - Original dpi - 144 dpi, Placed dpi - 144 dpi | Page dimensions 224 mm x 297 mm
  • Pages 1 to 6 - Original dpi - 144 dpi, Placed DPI - 300 dpi | Page dimensions 107.5 mm x 142.6 mm

 

IKEA PDF Placed in v2

  • Page 1 only - Original dpi - 144 dpi, Placed dpi - 144 dpi | Page dimensions 210 mm x 276 mm
  • Pages 1 to 6 - Original dpi - 144 dpi, Placed DPI - 300 dpi | Page dimensions 100.8 mm x 132.5 mm

 

Both files placed in v1 report the original and placed dpi to be 300 dpi, as per the source document.

Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5
Affinity Designer Beta 2.6.0.2861 | Affinity Photo Beta 2.6.0.2861 | Affinity Publisher Beta 2.6.0.2861

MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Link to comment
Share on other sites

  • 2 weeks later...

Hi @stokerg,

I realise you've likely been extremely busy in the build-up to the 2.2 release but I just wanted to follow up on this issue...

I've attached a new simple document created from scratch to demonstrate the issue... Attached is the source Publisher file along with a PDF file exported from the Publisher document...

Steps to Recreate

  1. Create a series of A2 (1,190 px x 1,683 px), 72 dpi images
  2. Create an A4, 192 dpi Publisher document with the appropriate number of pages
  3. Add one image per page without any picture frames
  4. Rescale the images to fill the page

    This results in the following in Publisher...

    PublisherFile.thumb.png.b146c1170dc89dccc58b9f263a1006ba.png

     
  5. Export the Publisher file as a 300 dpi pdf file or use the document resolution (the dpi doesn't matter)
  6. Create a new 300 dpi (the dpi doesn't matter) A4 Publisher document
  7. Place a single page from the PDF onto page 1 (the page doesn't matter)

    This results in the page being placed at 210 mm x 297 mm with an original and placed dpi of 144 dpi...

    SinglePagePlacement.thumb.png.fec53f2ffb5d1f2eb4a9b1b411a0fd19.png

     
  8. Place a multi-page selection from the PDF onto page 2 (the page doesn't matter) which will then auto-generate additional pages as needed

    This results in the subsequent pages being placed at 157.5 mm x 222.75 mm with an original dpi of 144 dpi. and a placed dpi of 192 dpi.

    Multi-PagePlacement.thumb.png.8726a34c878a1a9c52a7d03172bf911b.png

     

Source Publisher File

Portrait Master.afpub

 

PDF Exported from Source Publisher File Then Placed in a New Publisher Document

Portraits.pdf

 

Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5
Affinity Designer Beta 2.6.0.2861 | Affinity Photo Beta 2.6.0.2861 | Affinity Publisher Beta 2.6.0.2861

MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Link to comment
Share on other sites

  • 5 weeks later...

Hi @stokerg,

I just want to follow up on and hopefully bump this issue as I was unsure whether it has been logged internally or has possibly fallen through the cracks since it doesn't appear to have been tagged as an issue in the forum...

I've provided some additional test files in the attached zip file as follows:

  1. Source Images.afphoto - containing seven source images all at 150 ppi
  2. Seven Tiff Files exported from the Source Images.afphoto file then added to each of the Publisher documents below
  3. Placed Source File 144 dpi.afpub - containing one image per page showing both the original and placed dpi for each image as 150 dpi
  4. Placed Source File 192 dpi.afpub - containing one image per page showing both the original and placed dpi for each image as 150 dpi
  5. Placed Source File 150 dpi.afpub - containing one image per page showing both the original and placed dpi for each image as 150 dpi
  6. Placed Source File 300 dpi.afpub - containing one image per page showing both the original and placed dpi for each image as 150 dpi
  7. Placed Source File 144 dpi.pdf - PDF file exported from the Placed Source File 144 dpi.afpub Publisher file
  8. Placed Source File 150 dpi.pdf - PDF file exported from the Placed Source File 150 dpi.afpub Publisher file
  9. Placed Source File 192 dpi.pdf - PDF file exported from the Placed Source File 192 dpi.afpub Publisher file
  10. Placed Source File 300 dpi.pdf - PDF file exported from the Placed Source File 300 dpi.afpub Publisher file

 

As mentioned above, each of the seven Tiff files has a resolution of 150 ppi...

ImageStats.png.fb3921d448160521a694a862ecee1f32.png

 

If you create a new two-page Publisher Document at 224 mm x 297 mm using the respective dpi's shown, i.e., 144, 150, 192 and 300 dpi then place just the first (or any single) page from each of the four PDF files on Page 1, it is placed using a dpi of 144 dpi at the correct size, i.e., 224 mm x 297 mm.

Repeat the process but this time select more than one page from the PDF file and the pages are scaled using the respective Publisher documents dpi i.e.,

  • Multiple selected pages from the 144 dpi PDF file are placed at the correct size
  • Multiple selected pages from the 150 dpi PDF file are placed at 96% of the correct size (144 / 150 x 100) = 96%
  • Multiple selected pages from the 192 dpi PDF file are placed at 75% of the correct size (144 / 192 x 100) = 75%
  • Multiple selected pages from the 300 dpi PDF file are placed at 48% of the correct size (144 / 300 x 100) = 48%

 

Conclusion

  • Despite the PDF Files not having a single dpi value and only containing images with a resolution of 150 dpi, Publisher is using a base unit of 144 dpi when placing pdf files.
     
  • If pages from a PDF file are placed individually into a Publisher document they are scaled to the correct size regardless of the Publisher Document dpi.
     
  • If multiple pages are selected from a PDF and then placed into a Publisher document they are scaled based on the Publisher documents' dpi resulting in each page needing to be resized manually in the Publisher file.

 

Additional Sample Files

Placed PDF Files.zip

 

Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5
Affinity Designer Beta 2.6.0.2861 | Affinity Photo Beta 2.6.0.2861 | Affinity Publisher Beta 2.6.0.2861

MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Link to comment
Share on other sites

Hi @stokerg,

That's perfect, many thanks... :)

Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5
Affinity Designer Beta 2.6.0.2861 | Affinity Photo Beta 2.6.0.2861 | Affinity Publisher Beta 2.6.0.2861

MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

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.