Jump to content

darknight

Members
  • Posts

    38
  • Joined

  • Last visited

Posts posted by darknight

  1. I'm going to create a new class that open animated gif and create frames but i have a problem with GDI

    It work with the gif i try but not for this [see url below]

    I try to search a solution into web but i didn't find nothing.

    Anyone have an idea?

    File for reference - go to :

    http://nextage.altervista.org/PaintNetForum/

    Here the error:

    System.Runtime.InteropServices.ExternalException was unhandled
     ErrorCode=-2147467259
     Message="A generic error occurred in GDI+."
     Source="System.Drawing"
     StackTrace:
          at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
          at System.Drawing.Image.Save(Stream stream, ImageFormat format)
          at WindowsApplication1.gifTry.GoButton_Click(Object sender, EventArgs e) in gifTry.vb:line 37
          at System.Windows.Forms.Control.OnClick(EventArgs e)
          at System.Windows.Forms.Button.OnClick(EventArgs e)
          at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
          at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
          at System.Windows.Forms.Control.WndProc(Message& m)
          at System.Windows.Forms.ButtonBase.WndProc(Message& m)
          at System.Windows.Forms.Button.WndProc(Message& m)
          at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
          at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
          at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
          at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
          at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
          at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
          at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
          at System.Windows.Forms.Application.Run(ApplicationContext context)
          at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
          at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
          at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
          at WindowsApplication1.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
          at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
          at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
          at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
          at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
          at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
          at System.Threading.ThreadHelper.ThreadStart()
    

  2. Good, the command it's colorize [http].

    I take a look to "seppia" command ... it doesn't do what i'm talking about.

    It made all the image with a red/brown [seppia] color... but colorize command into photoshop give the possibility to trasform all the image with a single color [something simiilar to add a colored layer and made it transparent, but much better].

    Try in into photoshop and you will see... I use it a lot, changing color to element [for example if I neeed to change the color of Xp folder icon, and i made a library with colorized icon]

    For the language, for me it's not problem... I use both italian than english program.

    I have problem only if I would like to reffer to one command [often italian translaton are really bad, try see Microsoft KN too -- better read in english][/img]

  3. I used the core of NGif [see first post] and with vb.net [really sorry but I don't know c#, I'm going to install it in a few days] I create a simple application which read data from gif and set data into a datatable [to mantain order, source and duration of every frame - this may be helpfull for add text info at text layer i think... I hope someone read this] and create simple image as "layer" .

    It's still in developing with some bug and I may implement some function than I could share it [but it's in vb.net , not c#]

  4. It seems that you cannot access this registry key. check if it exist.

    I think you could erase this key [but only if you know how to work with registry or maybe use regcleaner], and all the file in paint.net installation folder and then try reinstall it.

    If it doesn't work check if you have temp file in windows temp directory and erase them.

    Just a question: your user is a indows administrator?

    Note: i hope you are a windows expert, or is better if you have someone who know these operation.

  5. Framework 1.1 and framework 2 can be installed both in the same machine.

    I use asp.net an on iis you can specify the version of framework to use.

    At work whe had a problem with this because they use too much application pool togheter and the solution was to create a new application pool for asp.net 2 [i'm talking about web server/iis].

    But all the programmers have both framework 1.1 and 2 installed on their machine [framework 2 was necessary for sql server 2005 manager] and all work

  6. I finally was able t do a vb.net projec which can load a gif, generating different frame [but i need to check the class that made this, is really slow], reorder them and resave them as a gif.

    Also i made possible to use some image as frame and create a new gif.

    I implement a new feature that i always need in photoshop, which give the possibility to extract all the frame in single file :D

    I'm working on the class which read/save data from/into gif file .

    Butthe only problem is to create a plugin for paint.net, i don't know how to do this... anyone can help me?

  7. How to manage frame and save animated gif.

    I found a sample code which read some static gif and create a new gif with these image as frame.

    here the link http://www.codeproject.com/dotnet/NGif.asp

    I hope could help someone in developping a plugin [o something else]

    I was able to create something, but i don't know how to integrate it in paint.net [during save or better using something like image ready animation toolbox]

    If someone have an idea.....

  8. I find this library which give the possibility to open a psd:

    DevIL.NET - Image Library for .NET [url : http://www.mastropaolo.com/devildotnet/ ].

    But this join the layer into a single bitmap. I try to edit them, but it's made with c++, and I don't know this language.

    I'm new into.net tecnology too. I hope this could help someone in creating a plugin for psd file.

    I would like too to try made one but i don't know how to made, there is a place where i can find the source of other plugin for filetype, so I can learnhow to made one?

    Other suggestion is to add animated gif support [which are the first reason i started using photoshop].

    I hope this is the right place for this post

×
×
  • Create New...