Jump to content

Recommended Posts

Posted

Hi
Im using the "HP Smart App" for scanning documents to multi page pdfs. (grayscale, 300dpi, saved as base pdf) 
To combine them with other content, im trying to open them within Affinity Publisher (1.10.6.1665). 

Opening them with the menu or drag and drop will result in an error message: "The File Type is not supported". 
Other apps can open this file easily. For a test I saved the problematic pdf with adobe acrobat (without changing its content).
After that the file can be imported to Affinity Publisher.

This behaviour can be reproduced. In fact some old pdfs from years ago cannot be opened now. 
I attached a file for testing:  test.pdf

Is there a way to fix this without having another app in the workflow? 

Posted

Hi @North and welcome to the forums,

There appears to be an error with the PDF file...

Root object (5 0 obj) not found at offset 188962

Looking at the PDF in a Hex editor shows the Root object at offset 188962 as (4 0 obj). I assume, though I can't be sure that is why the Affinity Apps fail to parse the file even though all the PDF Readers I've tried happily open it...

Affinity Designer 2.5.7 | Affinity Photo 2.5.7 | Affinity Publisher 2.5.7
Affinity Designer Beta 2.6.0.3027 | Affinity Photo Beta 2.6.0.3027 | Affinity Publisher Beta 2.6.0.3027

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

  • Staff
Posted

Hi @North,

If i resave the file from Adobe as a PDF, i'm then able to open it in Affinity.  

I'm also not sure if what @Hangmanhas found would cause the PDF not to load, but seeing as its a version 1.7 PDF, i'd expect it to open.  I'll get this logged with the Developers to see if they can do anything about this :) 

Posted

Hi @stokerg,

FWIW, if placing the source pdf in v2 I see The file type is not supported error, if I open it I see both The file type is not supported and The file could not be parsed error messages...

As you say, opening and resaving in Acrobat then allows the file to be placed or opened without issue...

ErrorMessages.png.c28e9e493d357357f77cbb7bd1c1ac54.png

Affinity Designer 2.5.7 | Affinity Photo 2.5.7 | Affinity Publisher 2.5.7
Affinity Designer Beta 2.6.0.3027 | Affinity Photo Beta 2.6.0.3027 | Affinity Publisher Beta 2.6.0.3027

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

  • 1 month later...
Posted
On 7/26/2024 at 4:14 PM, stokerg said:

Hi @North,

If i resave the file from Adobe as a PDF, i'm then able to open it in Affinity.  

I'm also not sure if what @Hangmanhas found would cause the PDF not to load, but seeing as its a version 1.7 PDF, i'd expect it to open.  I'll get this logged with the Developers to see if they can do anything about this :) 

Hello @stokerg and @Hangman

thank you for your response and for notifying the Devs about it. 
Is there any update to this topic? :)

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.