Jump to content


Photo

XCF filetype plugin


  • Please log in to reply
9 replies to this topic

#1 Martin Osieka

Martin Osieka
  • Members
  • 32 posts
  • Reputation:3

Posted 04 January 2012 - 05:36 PM

Plugin which allows the digital image editor "Paint.NET" to load and save images in the GIMP native file format XCF (and its packed variants XCFGZ and XCFBZ2).

 

Download

Find the latest version v1.1.1 (20.3.2013) here.


Installation

Unzip "ImXCF.FileType vX.X.zip" and copy the two files "ImXCF.FileType.dll" and
"ImXCF.Command.exe" into the "FileTypes" folder of your Paint.NET installation.
A typical location is "C:\Program Files\Paint.NET\FileTypes".
If the "FileTypes" folder does not exist in your Paint.NET installation then create this folder first.

Features

 

1.1.1 (20.3.2013)
Security update ImXCF.Command.exe (overflow issues)
v1.1:
Bug fix: Pathname of the temp folder may now contain spaces
v1.0:
Load XCF, XCFGZ, or XCFBZ2:
The load conversion includes all layers and some properties (name, opacity,
visibility, blendmode, and alpha channel).
A layer mask will be merged to the alpha channel.
Layers will be clipped to the canvas and filled-up with transparent pixels.
Indexed and grayscale images will be converted to RGB images.
Blend modes not known in PDN will be converted to Normal mode.
Compression modes RAW and RLE are supported.
Packing modes GZ and BZ2 are supported.
Save XCF, XCFGZ, or XCFBZ2:
The save conversion includes all layers and some properties (name, opacity,
visibility, blendmode, and alpha channel).
Blend modes not known in XCF will be converted to Normal mode.
Compression mode is always RLE.
Packing modes GZ and BZ2 are supported.

Known issues
------------
v1.0:
- Pathname of the temp folder does now allow spaces
 


Edited by Martin Osieka, 20 March 2013 - 11:37 AM.


#2 The Yak

The Yak
  • Newbies
  • 1 posts
  • Reputation:0

Posted 10 January 2012 - 03:56 PM

Thanks! I've just switched from GIMP so I was happy to find this plugin here.

#3 pyrochild

pyrochild

    Plugin Author of the Year 2012

  • Administrators
  • 11,248 posts
  • LocationColorado
  • Reputation:132

Posted 10 January 2012 - 06:42 PM

Yay!

Posted Image
[I write plugins and stuff] [Follow my stupid brain on Twitter]

If you like a post, upvote it!


#4 RodD

RodD
  • Newbies
  • 6 posts
  • Reputation:0

Posted 28 January 2012 - 04:41 PM

Sweet! :)
But i get an "error cannot find file" dialog every time i go to load an existing XCF.
Then when i go to save a XCF i create in PDN i get an "unspecified error while trying to save xcf file"

Edited by RodD, 28 January 2012 - 05:57 PM.


#5 Martin Osieka

Martin Osieka
  • Members
  • 32 posts
  • Reputation:3

Posted 29 January 2012 - 06:57 AM

Sweet! :)
But i get an "error cannot find file" dialog every time i go to load an existing XCF.
Then when i go to save a XCF i create in PDN i get an "unspecified error while trying to save xcf file"


No idea in the moment ;-)
Please provide information about the operating system and the location and names of the files you are trying to load or save.
Are you able to use DebugView? Then we may switch on the log.

#6 Martin Osieka

Martin Osieka
  • Members
  • 32 posts
  • Reputation:3

Posted 29 January 2012 - 12:34 PM

There was a bug in the handling of the folder used for temporary files. This has been fixed in v1.1 (see first message).
I don't know if this fixes your issue RodD but because your are getting strange messages about files you may give it a try.

#7 RodD

RodD
  • Newbies
  • 6 posts
  • Reputation:0

Posted 29 January 2012 - 02:03 PM

There was a bug in the handling of the folder used for temporary files. This has been fixed in v1.1 (see first message).
I don't know if this fixes your issue RodD but because your are getting strange messages about files you may give it a try.


My specs -
Windows XP updated regularly.

My PDN Version
-
Paint.NET v3.5.10 (Final Release build 3.510.4297.28964)

More info-
That still didn't fix the errors.
Can't run debug, sorry.
I did run the check for errors plug-in and found 5 corrupt dll files. (all deleted)

Running the utilities>View Plugin Load Errors dialog -

2 wouldn't load due to the fact they probably needed to be updated.

All those are gone now, but your filter still doesn't load XCF files for me.
Here is the xcf file i am trying to load. Basically though i tried several just to be sure.None would load.

I do have the pdn2xcf and xcf2pdn.exe files could those be causing your plug-in to fail?

Thanks.

Attached Files


Edited by RodD, 29 January 2012 - 02:33 PM.


#8 Martin Osieka

Martin Osieka
  • Members
  • 32 posts
  • Reputation:3

Posted 29 January 2012 - 04:04 PM

Running the utilities>View Plugin Load Errors dialog -


I'm not quite sure about your error message. Maybe you could add a screenshot.

All those are gone now, but your filter still doesn't load XCF files for me.
Here is the xcf file i am trying to load. Basically though i tried several just to be sure.None would load.


Loads fine here (Win7 64bit). Shows 7 layers in Paint.NET and GIMP.

I do have the pdn2xcf and xcf2pdn.exe files could those be causing your plug-in to fail?


No. They are just based on the same source. You may test if you can view your xcfs in the Image Browser Irfanview.

DebugView (http://technet.micro...ernals/bb896647) is not a debugger. It just catches debug output of applications and shows it in a window. To start the debug output of the plugin you have to add an environment variable.

#9 RodD

RodD
  • Newbies
  • 6 posts
  • Reputation:0

Posted 30 January 2012 - 06:45 AM

I'm not quite sure about your error message. Maybe you could add a screenshot.



Loads fine here (Win7 64bit). Shows 7 layers in Paint.NET and GIMP.



No. They are just based on the same source. You may test if you can view your xcfs in the Image Browser Irfanview.

DebugView (http://technet.micro...ernals/bb896647) is not a debugger. It just catches debug output of applications and shows it in a window. To start the debug output of the plugin you have to add an environment variable.


That's ok i can load them into PaintDotNet via a shellout script through Gimp.It turns the layer into an temp png, exports the file into PDN.I can then edit the one layer and send it back to Gimp. :)
I am just kind of curious why it will not work on my Windows xp 32 bit platform.Oh well.

Thanks for all your help though,
-Rod

#10 Martin Osieka

Martin Osieka
  • Members
  • 32 posts
  • Reputation:3

Posted 20 March 2013 - 11:32 AM

1.1.1 (20.3.2013)
Security update ImXCF.Command.exe (overflow issues)