Martin Osieka

'Portable Document Format' FileType Plugin (.PDF)

Recommended Posts

@Ego Eram Reputo

"Allows paint.net to save images as PDF documents" is what it says in the index.

 

I never knew it could open as well.

Might I suggest a minor edit to the index;  "Allows paint.net to open or save images as  PDF documents"

With all the tuts being converted to PDFs - this plugin file type is a handy tool. B)

Share this post


Link to post
Share on other sites
54 minutes ago, AndrewDavid said:

Might I suggest a minor edit to the index;

 

You can. I've flagged this change. Thanks for the suggestion.

Share this post


Link to post
Share on other sites

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now