It is currently Fri Apr 19, 2024 4:03 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 134 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7  Next
Author Message
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Fri Aug 26, 2011 1:31 pm  (#111) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
my comment was about a older version i will try this

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Fri Aug 26, 2011 3:05 pm  (#112) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
I think Partha is going to re-compile it to work in the ui directory tree. :)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Fri Aug 26, 2011 6:56 pm  (#113) 
Offline
GimpChat Member

Joined: Mar 14, 2011
Posts: 998
Rod wrote:
I think Partha is going to re-compile it to work in the ui directory tree. :)


Hey Rod,

I am going to give it one more try. :)

Can you test the attached version? For the sake of completeness, all the files are included here.

The installation is same as before:

Installation:
1. Copy the dll file to the Gimp-2.7.3\bin directory (typically c:\Program Files\Gimp-2.7.3\bin)
2. Copy the exe file to the Gimp-2.7.3 plugins directory (typically c:\Program Files\Gimp-2.7.3\lib\gimp\2.0\plug-ins)
3. Copy the ui file to the Gimp 2.7.3 ui directory (typically c:\Program Files\Gimp-2.7.3\share\gimp\2.0\ui\plug-ins).
4. For the time being, rename the png plugin to something else (typically found at c:\Program Files\Gimp-2.7.3\lib\gimp\2.0\plug-ins), for example file-png.old.
5. Restart (or start) Gimp.

PC, for the portable version, you can simply do the above.


Attachments:
File comment: APNG Plugin 32-bit for Gimp 2.7.3 or higher
apng-2.7.3-32bit.7z [188.09 KiB]
Downloaded 1328 times
File comment: APNG Plugin 64-bit for Gimp 2.7.3 or higher.
apng-2.7.3-64bit.7z [203.85 KiB]
Downloaded 649 times
Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Fri Aug 26, 2011 8:51 pm  (#114) 
Offline
GimpChat Member

Joined: Apr 25, 2011
Posts: 78
Location: Taiwan
PhotoComix wrote:
Any hope for a more user friendly version of this cool plugin (more integrated with the export dialog )?

The problem is that using the saving dialog (in gimp 2.7 the export dialog) as usual, try to save a apng just adding a .apng postfix to the name (as "image.apng" ) lead to error message (unsupported file type ) and failure

the solution is to use instead a more hidden option in the export dialog , but that is not too user friendly, many will just get up after the error message

Instead would be nice if just adding "apng" to the image name in the main "export" dialog would open the apng-plugin dialog

maybe you can try my compiled version.
it no need to delete orig file file-png.exe
save file, just type file name with the extension apng
http://www.gimpchat.com/viewtopic.php?f=8&t=2241&hilit=JamesH&start=40#p29382
source
http://www.gimpchat.com/viewtopic.php?f=8&t=2241&hilit=JamesH&start=60#p29683


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Fri Aug 26, 2011 9:06 pm  (#115) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Partha it works excellent! :bigthup

Thanks!


Image

But can we just place the DLL and exe files in the user/gimp-2.7/plugins folder?
Just to make for easier install?(especially for future updates)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Fri Aug 26, 2011 9:21 pm  (#116) 
Offline
GimpChat Member

Joined: Mar 14, 2011
Posts: 998
Rod wrote:
Partha it works excellent! :bigthup

Thanks!


Image

But can we just place all the files in the user/gimp-2.7/plugins folder?
Just to make for easier install?(especially for future updates)


So, you didn't have to create the "strange" directory as before, correct? Matter of fact, can you delete that directory and restart Gimp and make sure that APNG is still working?

Well, you can't place them all in plugins folder since they are not plugins. :)

I personally think that the DLLs should go in the main bin directory since that's where all the DLLs are. In the future when I build Gimp, you will not need the DLL anyway, so don't worry about. :)

You have to place the UI file in the UI directory since that's the directory structure currently used for PNG and GIF and probably other future UIs unless the directory structure changes again.

Thanks!
Partha


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Fri Aug 26, 2011 9:39 pm  (#117) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
I took the liberty of taking the ui file out of the strange directory before i started Gimp and it worked.
What i actually did was remove the old dll, and exe, and removed the ui file from the strange directory and placed those all on my desktop.Then i followed your install instructions for the new package, and started Gimp.I then loaded Mollys apng file as an png-apng image then exported it as an png-apng with a different name.

Worked fine. :)

Thanks again.

I just wanted to mention again that i did have to overwrite an existing libpng15-15.dll the first time i downloaded your package.It didn't do any harm to any other plugins (they all seem to work still), and i have no idea why it was there. :lol

If i have any future problems i will let you know.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Sat Aug 27, 2011 12:41 am  (#118) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2240
Location: Poland
For XP 32bit location "ui" is still different than the specified c: \ Program Files \ Gimp-2.7.3 \ share \ gimp \ 2.0 \ ui \ plug-ins.

Version Partha:
This is a development version of GIMP. Debug messages may appear here.
Error loading UI file 'C:\Program Files\Gimp-2.7.3\lib\gimp\2.0\plug-ins\share\g
imp\2.0\ui/plug-ins/plug-in-file-apng.ui': Failed to open file 'C:\Program Files
\Gimp-2.7.3\lib\gimp\2.0\plug-ins\share\gimp\2.0\ui/plug-ins/plug-in-file-apng.u
i': No such file or directory
(file-apng:1984): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (
widget)' failed

Version JamesH:
Error loading UI file 'C:\GIMP-2.7\settings/plug-ins/plug-in-file-apng.ui': Fail
ed to open file 'C:\GIMP-2.7\settings/plug-ins/plug-in-file-apng.ui': No such fi
le or directory
(file-apng:2140): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (
widget)' failed.

Standardization also requires naming - file *.png (Partha) or *.apng (JamesH)?

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Sat Aug 27, 2011 1:49 am  (#119) 
Offline
GimpChat Member

Joined: Apr 25, 2011
Posts: 78
Location: Taiwan
Please check the C:\GIMP-2.7\settings/plug-ins folder.
Is there have that file.
Thanks.


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Sat Aug 27, 2011 5:40 am  (#120) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Attn: JamesH,
Should the plug-in-file-apng.ui be in gimp-2.0-ui-plug-ins folder
OR
gimp-2.7-settings-plug-in folder
I have it in 2.0-ui-plug-ins and I don't get the (Save as Animation) in the dialog box to save it as a png (apng) extension.

_________________
Image


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Sat Aug 27, 2011 5:55 am  (#121) 
Offline
GimpChat Member

Joined: Apr 25, 2011
Posts: 78
Location: Taiwan
"gimp-2.7/settings/plug-ins" on my compiled version


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Sat Aug 27, 2011 5:57 am  (#122) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
thank you, I will try it.
edit-1: I tried it and still no save as animation in dialog. I did reboot gimp first.
Image

edit-2: Okay, I named it hearts.apng, instead of png and it worked, I was able to save it as animation but it saved as a gimp file in illustration below. Is this the way it is supposed to save? :oops:
Image

_________________
Image


Last edited by molly on Sat Aug 27, 2011 6:15 am, edited 2 times in total.

Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Sat Aug 27, 2011 5:59 am  (#123) 
Offline
GimpChat Member

Joined: Mar 14, 2011
Posts: 998
MareroQ wrote:
For XP 32bit location "ui" is still different than the specified c: \ Program Files \ Gimp-2.7.3 \ share \ gimp \ 2.0 \ ui \ plug-ins.

Version Partha:
This is a development version of GIMP. Debug messages may appear here.
Error loading UI file 'C:\Program Files\Gimp-2.7.3\lib\gimp\2.0\plug-ins\share\g
imp\2.0\ui/plug-ins/plug-in-file-apng.ui': Failed to open file 'C:\Program Files
\Gimp-2.7.3\lib\gimp\2.0\plug-ins\share\gimp\2.0\ui/plug-ins/plug-in-file-apng.u
i': No such file or directory
(file-apng:1984): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (
widget)' failed


MareroQ,

I believe Rod is using Windows XP as well and it was working on his machine and I installed it on a Window 7 32-bit machine that I have lying around and it worked there as well. The point is that, my build depends on Gimp to provide the path now.
Quote:
Version JamesH:
Error loading UI file 'C:\GIMP-2.7\settings/plug-ins/plug-in-file-apng.ui': Fail
ed to open file 'C:\GIMP-2.7\settings/plug-ins/plug-in-file-apng.ui': No such fi
le or directory
(file-apng:2140): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (
widget)' failed.

Standardization also requires naming - file *.png (Partha) or *.apng (JamesH)?


I have not changed any file name extensions since this was not in the original specs. So, I don't know how I can help here unless there are some guidelines someone can point to regarding the file extensions specified by the APNG developer group.

Thanks,
Partha


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Sat Aug 27, 2011 9:02 am  (#124) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
JamesH
yes it is compatible with the standard png plugin and accept ".apng" added as postfix in the file name, without the need to open more hidden dialog

Cool ! thank you

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Sat Aug 27, 2011 12:02 pm  (#125) 
Offline
GimpChat Member

Joined: May 15, 2010
Posts: 64
btw, guys... when the plug-in was just released, a lot of people complained about this problem:
libpng error: width and/or height in the first frame's fcTL don't match the ones in IHDR

That happened because the author used last frame instead of the first for the IHDR width/height.

This is original buggy code
  drawable = gimp_drawable_get (layers[0]);
  drawable_type = gimp_drawable_type (layers[0]);


This is how I fixed it:
  drawable = gimp_drawable_get (layers[nlayers-1]);
  drawable_type = gimp_drawable_type (layers[nlayers-1]);



It's too bad the author abandoned the project, there are still some serious bugs left. Maybe you guys could take a look at them, and post the message to the author, if you'll figure out how to fix them:
http://sourceforge.net/tracker/?group_i ... id=1306996


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Sat Aug 27, 2011 10:14 pm  (#126) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
MareroQ wrote:
For XP 32bit location "ui" is still different than the specified c: \ Program Files \ Gimp-2.7.3 \ share \ gimp \ 2.0 \ ui \ plug-ins.

Version Partha:
This is a development version of GIMP. Debug messages may appear here.
Error loading UI file 'C:\Program Files\Gimp-2.7.3\lib\gimp\2.0\plug-ins\share\g
imp\2.0\ui/plug-ins/plug-in-file-apng.ui': Failed to open file 'C:\Program Files
\Gimp-2.7.3\lib\gimp\2.0\plug-ins\share\gimp\2.0\ui/plug-ins/plug-in-file-apng.u
i': No such file or directory
(file-apng:1984): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (
widget)' failed



Put the NEW ui here Mr Q. :)
c:\Program Files\Gimp-2.7.3\share\gimp\2.0\ui\plug-ins)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Sat Sep 10, 2011 9:50 pm  (#127) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
Quote:
It's too bad the author abandoned the project, there are still some serious bugs left. Maybe you guys could take a look at them, and post the message to the author, if you'll figure out how to fix them:
http://sourceforge.net/tracker/?group_i ... id=1306996


Damn..VERY serious bug left !

1 "Indexed saving support broken"

2 "Alpha channel are saved incorrectly" :bawl

3 "Interlaced PNG files are loaded incorrectly "

only 3 bugs reported but all critical

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Sat Sep 10, 2011 10:06 pm  (#128) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
Looking better seems that the developer IS doing something,
http://sourceforge.net/users/daisuken/
he proposed a lot of patches (last in 2011-07-09 )

But for sure he can't do much if the issues derive from the library he uses, (except then propose patches for the library's bugs)

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Sun Sep 11, 2011 4:20 am  (#129) 
Offline
GimpChat Member

Joined: May 15, 2010
Posts: 64
The bugs are in plugin code, not in the library.

For example, the alpha channel bug happens when the first frame is fully opaque, and other frames has transparent areas. GIMP saves internal memory by storing first frame in 3 bytes per pixel, and other frames at 4 bytes per pixel. The plugin checks the first frame, and decides to save the whole thing in 3 bytes per pixel format, which is certainly wrong.

Oh well, it's open source, so someone will fix it eventually.


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Sun Sep 11, 2011 5:06 am  (#130) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
MaxSt wrote:

For example, the alpha channel bug happens when the first frame is fully opaque, and other frames has transparent areas. .


Oh this for me is ALMOST a good new
I was seriously worried by the bad support for alpha channel,

remain a serious bug but luckily in most user case if there is a fully opaque layer that would be the BG.

BTW i share your hope for somebody fixings that 3 nasty bugs

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
Post new topic Reply to topic  [ 134 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Has anyone compiled Resynthesizer 2.03 for Windows?

2

No new posts Attachment(s) APNG (animated PNG) plug-in for Gimp 2.10 Windows64x

4

No new posts Officially compiled GEGL Filter plugins for Windows

8

No new posts Calling GIMP Plug-in From Command Line - on Windows

0

No new posts Attachment(s) Don't work procedures plug-in-bump-map, plug-in-displace

2



* Login  



Powered by phpBB3 © phpBB Group