Martin Osieka

'Portable Document Format' FileType Plugin (.PDF)

Recommended Posts

Does anyone know what registry value that the plugin use to detect the Ghostscript? I'm using a unofficial PortableApps.com package of Paint.NET, and I don't want to install Ghostscript on the system. However, I already have the portable version of Ghostscript. I tried to add registry value manually in HKCU\Software\GPL Ghostscript\9.22 and HKCU\Software\Wow6432Node\GPL Ghostscript\9.22, but still no success, it shows that i don't have 64 bit version of Ghostscript installed

Share this post


Link to post
Share on other sites
8 minutes ago, Andhika24kd said:

Does anyone know what registry value that the plugin use to detect the Ghostscript?

 

You are using the wrong registry hive. The plugin is checking in LocalMachine, not CurrentUser.

Specific keys it looks at are 'GS_DLL' and 'GS_LIB'.

 

That's all the help you're going to get with this. If you can't figure it out, you'll just have to install Ghostscipt.

 

12 minutes ago, Andhika24kd said:

I'm using a unofficial PortableApps.com package of Paint.NET

Where did you find that package?

Share this post


Link to post
Share on other sites

Thanks for the quick reply, will surely to try it later... Yeah, I already know about the GS_DLL and GS_LIB, my mistake is that I'm using HKCU intead of HKLM

16 minutes ago, toe_head2001 said:

Where did you find that package?

I got it from ThumbApps.org, the latest version is 4.0.20, but you can update it to 4.0.21 by replacing the app files manually. I suggest not to continue talking about it, as it misleading the topic of this thread

Share this post


Link to post
Share on other sites

I'm not sure what has happened. This plugin used to work for me. I haven't used it in a while, and when I tried to save a picture as a pdf, I no longer have the option. I have: 

  • paint.net 4.0.21, 
  • OptionBasedLibrary v0.6.dlc and OptionBasedLibrary v0.6.dll in program files/paint.net folder
  • ImPDF.Open.FileType.dlc and ImPDF.Open.FileType.dll in program files/paint.net/filetypes folder
  • installed gs9.22

Sorry I know that's rather vague. Any suggestions?

Share this post


Link to post
Share on other sites

What about the following files:

 

ImPDF.Save.FileType.dlc and ImPDF.Save.FileType.dll

 

If they are not installed on your system, you can download them in the first post in this thread.

Share this post


Link to post
Share on other sites

Thanks for the plugin, Martin. It definitely makes a difference in using paint.net!

 

I'm still wondering if there's a way around the fact that paint.net imports pixels and not editable text.
A lurked through discussions but found nothing... maybe I was using the wrong keywords.

 

NB: I'm quite a noob to this. ;)

Share this post


Link to post
Share on other sites
9 minutes ago, punktuation said:

I'm still wondering if there's a way around the fact that paint.net imports pixels and not editable text.

 

There is not.

 

Paint.NET is a pixel editor, not a word processor.

Share this post


Link to post
Share on other sites

Hi @punktuation

Did you know that if you copy your text to the clipboard - Then use the text tool in paint - You can paste? CTrl-V will do it.

Before you press enter you have one chance to edit it at this point. Once you press "enter" or "finish" the text is turned into a graphic.

B)

Edited by AndrewDavid

Share this post


Link to post
Share on other sites

I would very much like to use this plugin. I've never tried it before. When I try to open a pdf file I get the error message: There was an error while opening file.

 

I have tried both the recommended combination paint.net 4.0.5 with Ghostscript 9.11 and the newest paint.net 4.1.1 with the newest Ghostscript 9.25

 

Clicking Show Details gives the error messages:

 

System.FormatException: Input string was not in a correct format.

at OptionBasedFileTypes.OpenFileType.OnLoad(Stream input)

at PaintDotNet.FileType.Load(Stream input) in d:\src\pdn\paintdotnet\src\Data\FileType.cs:line 477

at PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) in d:\src\pdn\paintdotnet\src\Base\Functional\Func.cs:line 158

 

and

 

System.FormatException: Input string was not in a correct format.

at OptionBasedFileTypes.OpenFileType.OnLoad(Stream input)

at PaintDotNet.FileType.Load(Stream input) in D:\src\pdn\src\Data\FileType.cs:line 496

at PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) in D:\src\pdn\src\Base\Functional\Func.cs:line 158

Share this post


Link to post
Share on other sites

Recently updated Paint.net to v4.13.

I installed the PDF plugin v1.4 and received an error when trying to save a .PSD and TIF file as a PDF.

 

-Save Configuration
 ImPDF FileType Plugin v1.4
 ImPDF Command Executable: n/a

 

I checked the root paint.net folder and found the ImPDF.Command.exe file. I deleted and reinstalled from the v1.4 zip, restarted and tried again. I checked to make sure it was unlocked. Same error.

I am assuming it is not finding the .exe file because it is looking for it in the C: drive and my Win7/paint.net folder is on my F: drive, but not sure. Anyone know of a fix for this?

Thanks

PDF Error.PNG

Share this post


Link to post
Share on other sites

First of all I would like to say that this plugin made my workflow much faster. I am trying to export an image as a pdf but the 24bit color depth it is just too much for me. I am looking for something that make the pdf files smaller, 4 bits for me would do it. Is there any possibility to do that with this plugin?

Thanks a lot in advance,

Adalberto

Share this post


Link to post
Share on other sites

I installed the Portable Document Format' FileType Plugin (.PDF)

But when i try to import a pdf to edit it i'm getting this error.

System.FormatException: Input string was not in a correct format.
   at OptionBasedFileTypes.OpenFileType.OnLoad(Stream input)
   at PaintDotNet.FileType.Load(Stream input) in d:\src\pdn\paintdotnet\src\Data\FileType.cs:line 477
   at PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) in d:\src\pdn\paintdotnet\src\Base\Functional\Func.cs:line 158

 

Anyone know how to fix this?

Share this post


Link to post
Share on other sites
25 minutes ago, Marty Dieckmeyer said:

System.FormatException: Input string was not in a correct format.

 

Sounds like it might be an issue with the PDF file.

Are you able to share the PDF file with us, so we can investigate?

Several people have reported the same issue, but none of them have supplied a PDF file.

Share this post


Link to post
Share on other sites

This plugin is very helpful indeed, but I wish it could, in addition to rendering PDF pages as bitmaps, also extract bitmap images from PDF files, like pdfimages from XPDF can.

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.

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.