Menu

#19 Import/export Paint.NET format

0.9
open
None
5
2006-04-27
2006-02-07
No

If Paint.NET takes becomes succesful it would be nice
if we could read and write the pdn format.

Discussion

  • Max Perga

    Max Perga - 2006-02-23
    • assigned_to: nobody --> neppanepenthes
     
  • Maurits Rijk

    Maurits Rijk - 2006-02-28

    Logged In: YES
    user_id=21209

    Some sample C\code that displays information from a pdn
    file. Reading a pdn file looks to be quite easy. Now we only
    have to extract the exacxt data from the pdn file and
    convert it to an xcf file.

    I guess this will be a nice future (at least importing the
    picture) for GIMP# 0.8

     
  • Maurits Rijk

    Maurits Rijk - 2006-03-01

    Some sample code

     
  • Maurits Rijk

    Maurits Rijk - 2006-03-01

    Logged In: YES
    user_id=21209

    I changed group to 0.8 because I think we should have this
    in our next release. Importing the .pdn file format is going
    to be more easy than I thought. Exporting to .pdn might be
    more difficult since GIMP has certains features (for example
    masks) that aren't supported yet by Paint.NET.

     
  • Maurits Rijk

    Maurits Rijk - 2006-03-01
    • milestone: 559639 --> 559636
     
  • Max Perga

    Max Perga - 2006-03-03

    Logged In: YES
    user_id=1413577

    Support for PDN import almost completed: still to evaluate
    what could be ported beyond layers.
    Moving to PDN export support.

     
  • Maurits Rijk

    Maurits Rijk - 2006-03-03

    Logged In: YES
    user_id=21209

    On Linux I get:

    Unhandled Exception:
    System.Runtime.Serialization.SerializationException: Field
    "m_compareInfo" not found in class
    System.Collections.CaseInsensitiveComparer
    in <0x00597>
    System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadTypeMetadata
    (System.IO.BinaryReader,bool,bool)
    in <0x00040>
    System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadObjectInstance
    (System.IO.BinaryReader,bool,bool,long&,object&,System.Runtime.Serialization.SerializationInfo&)
    in <0x00097>
    System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadObject
    (System.Runtime.Serialization.Formatters.Binary.BinaryElement,System.IO.BinaryReader,long&,object&,System.Runtime.Serialization.SerializationInfo&)
    in <0x00072>
    System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadNextObject
    (System.IO.BinaryReader)
    in <0x000b4>
    System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadObjectGraph
    (System.IO.BinaryReader,bool,object&,System.Runtime.Remoting.Messaging.Header[]&)
    in <0x0011f>
    System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:NoCheckDeserialize
    (System.IO.Stream,System.Runtime.Remoting.Messaging.HeaderHandler)
    in <0x00010>
    System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:UnsafeDeserialize
    (System.IO.Stream,System.Runtime.Remoting.Messaging.HeaderHandler)
    in <0x0037c> PaintDotNet.Document:FromStream (System.IO.Stream)
    in <0x00124> Gimp.Pdn.Pdn:Load (string)
    in <0x00119> Gimp.FilePlugin:Run
    (string,Gimp.ParamDefList,Gimp.ParamDefList&)
    in <0x0006e> Gimp.Plugin:Run (string,int,intptr,int&,intptr&)
    in <0x0004f> (wrapper native-to-managed) Gimp.Plugin:Run
    (intptr,int,intptr,int&,intptr&)
    in (unmanaged) 0xb73845d7
    in <0x00004> (wrapper managed-to-native)
    Gimp.Plugin:gimp_main (Gimp.Plugin/GimpPlugInInfo&,int,string[])
    in <0x00176> Gimp.Plugin:.ctor (string[])
    in <0x0000d> Gimp.FilePlugin:.ctor (string[])
    in <0x0000d> Gimp.Pdn.Pdn:.ctor (string[])
    in <0x00019> Gimp.Pdn.Pdn:Main (string[])

    This could be caused by missing stuff in Mono. If needed, we
    can file a bug report for them.

     
  • Max Perga

    Max Perga - 2006-03-03

    Logged In: YES
    user_id=1413577

    I've created a symbolic link from plugins directory to the
    local CVS repository for PDN DLLs and wrapper.

    This is the stack trace I got:

    Unhandled Exception: System.InvalidCastException: Cannot
    cast from source type to destination type.
    in <0x0014e> Gimp.FilePlugin:Run
    (string,Gimp.ParamDefList,Gimp.ParamDefList&)
    in <0x000b6> Gimp.Plugin:Run (string,int,intptr,int&,intptr&)
    in <0x00080> (wrapper native-to-managed) Gimp.Plugin:Run
    (intptr,int,intptr,int&,intptr&)
    in (unmanaged) 0x2aaaac8d4cb6
    in <0x00012> (wrapper managed-to-native)
    Gimp.Plugin:gimp_main (Gimp.Plugin/GimpPlugInInfo&,int,string[])
    in <0x001bb> Gimp.Plugin:.ctor (string[])
    in <0x0001a> Gimp.FilePlugin:.ctor (string[])
    in <0x0001a> Gimp.Pdn.Pdn:.ctor (string[])
    in <0x00026> Gimp.Pdn.Pdn:Main (string[])

     
  • Maurits Rijk

    Maurits Rijk - 2006-03-17

    Logged In: YES
    user_id=21209

    We have to decide if we want this in 0.8 as a windows-only
    plug-in or delay it until 0.9. Max, what do you think?

     
  • Maurits Rijk

    Maurits Rijk - 2006-04-27
    • milestone: 559636 --> 0.9
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.