It is currently Sun Jun 30, 2024 4:54 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 134 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next
Author Message
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Wed Aug 24, 2011 3:40 am  (#81) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Try uninstalling it and re-installing it following Molly's tutorial here.
http://gimpchat.com/viewtopic.php?p=1634#p1634

Then after install i am pretty sure you can toss the file-png.exe binary file.
Keep the file-apng.exe and that's all you should need. :)

_________________
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: Wed Aug 24, 2011 4:06 am  (#82) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Got it to work in 2.7.3 , but it will not export.Because the ui is different the save as animation doesn't show up. :)
Image
I just downloaded the apng file for gimp-2.6.11, and unzipped its contents to my user/gimp-2.7/plugins folder and started Gimp-2.7.3 and opened mollys apng as a png-apng and voila! :)

Image

Exported Mollyapng-2.png animation below - still no joy. :\
Image


I think if it was compiled for 2.7.3's new ui interface it would work. :)

_________________
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: Wed Aug 24, 2011 6:06 am  (#83) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Doesn't work for me either Rod.

_________________
Image


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Wed Aug 24, 2011 2:21 pm  (#84) 
Offline
New Member

Joined: Aug 23, 2011
Posts: 3
Rod wrote:
Try uninstalling it and re-installing it following Molly's tutorial here.
http://gimpchat.com/viewtopic.php?p=1634#p1634

Then after install i am pretty sure you can toss the file-png.exe binary file.
Keep the file-apng.exe and that's all you should need. :)


I'm using 64bit win 7, just saying


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Wed Aug 24, 2011 2:30 pm  (#85) 
Offline
GimpChat Member

Joined: Aug 05, 2011
Posts: 606
Location: limestone,ny
running into problems with win 7

Image


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Wed Aug 24, 2011 2:45 pm  (#86) 
Offline
New Member

Joined: Aug 23, 2011
Posts: 3
alc59 wrote:
running into problems with win 7

Image



I'm getting the same problem, im guessing ur using 64-bit win 7 as well?


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Wed Aug 24, 2011 3:06 pm  (#87) 
Offline
GimpChat Member

Joined: Aug 05, 2011
Posts: 606
Location: limestone,ny
yep 64..using 32 gimp tho


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Wed Aug 24, 2011 6:15 pm  (#88) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
It probably needs to be compiled for 64 bit i would ask Partha to see what he can do. :)

I am wondering if the problem isn't in the binary but the ui file itself?
Possibly it calls the wrong widgets for Gimp-2.7.3 user interface?
Here is the ui file code...
<?xml version="1.0"?>
<interface>
  <!-- interface-requires gtk+ 2.12 -->
  <!-- interface-naming-policy project-wide -->
  <object class="GtkAdjustment" id="compression-level">
    <property name="upper">9</property>

    <!-- NOTE: Set value _after_ upper so the value don't get clamped -->
    <property name="value">9</property>

    <property name="step_increment">1</property>
    <property name="page_increment">1</property>
  </object>
  <object class="GtkVBox" id="main-vbox">
    <property name="visible">True</property>
    <property name="orientation">vertical</property>
    <child>
      <object class="GtkFrame" id="png-options-frame">
        <property name="visible">True</property>
        <property name="label_xalign">0</property>
        <property name="shadow_type">none</property>
        <child>
          <object class="GtkTable" id="png-options-table">
            <property name="visible">True</property>
            <property name="border_width">12</property>
            <property name="n_rows">9</property>
            <property name="n_columns">3</property>
            <property name="column_spacing">6</property>
            <property name="row_spacing">6</property>
            <child>
              <object class="GtkCheckButton" id="interlace">
                <property name="label" translatable="yes">_Interlacing (Adam7)</property>
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="receives_default">False</property>
                <property name="use_underline">True</property>
                <property name="draw_indicator">True</property>
              </object>
              <packing>
                <property name="right_attach">3</property>
              </packing>
            </child>
            <child>
              <object class="GtkCheckButton" id="save-background-color">
                <property name="label" translatable="yes">Save _background color</property>
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="receives_default">False</property>
                <property name="use_underline">True</property>
                <property name="draw_indicator">True</property>
              </object>
              <packing>
                <property name="right_attach">3</property>
                <property name="top_attach">1</property>
                <property name="bottom_attach">2</property>
              </packing>
            </child>
            <child>
              <object class="GtkCheckButton" id="save-gamma">
                <property name="label" translatable="yes">Save gamma</property>
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="receives_default">False</property>
                <property name="draw_indicator">True</property>
              </object>
              <packing>
                <property name="right_attach">3</property>
                <property name="top_attach">2</property>
                <property name="bottom_attach">3</property>
              </packing>
            </child>
            <child>
              <object class="GtkCheckButton" id="save-layer-offset">
                <property name="label" translatable="yes">Save layer o_ffset</property>
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="receives_default">False</property>
                <property name="use_underline">True</property>
                <property name="draw_indicator">True</property>
              </object>
              <packing>
                <property name="right_attach">3</property>
                <property name="top_attach">3</property>
                <property name="bottom_attach">4</property>
              </packing>
            </child>
            <child>
              <object class="GtkCheckButton" id="save-resolution">
                <property name="label" translatable="yes">Save _resolution</property>
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="receives_default">False</property>
                <property name="use_underline">True</property>
                <property name="draw_indicator">True</property>
              </object>
              <packing>
                <property name="right_attach">3</property>
                <property name="top_attach">4</property>
                <property name="bottom_attach">5</property>
              </packing>
            </child>
            <child>
              <object class="GtkCheckButton" id="save-creation-time">
                <property name="label" translatable="yes">Save creation _time</property>
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="receives_default">False</property>
                <property name="use_underline">True</property>
                <property name="draw_indicator">True</property>
              </object>
              <packing>
                <property name="right_attach">3</property>
                <property name="top_attach">5</property>
                <property name="bottom_attach">6</property>
              </packing>
            </child>
            <child>
              <object class="GtkCheckButton" id="save-comment">
                <property name="label" translatable="yes">Save comme_nt</property>
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="receives_default">False</property>
                <property name="use_underline">True</property>
                <property name="draw_indicator">True</property>
              </object>
              <packing>
                <property name="right_attach">3</property>
                <property name="top_attach">6</property>
                <property name="bottom_attach">7</property>
              </packing>
            </child>
            <child>
              <object class="GtkCheckButton" id="save-transparent-pixels">
                <property name="label" translatable="yes">Save color _values from transparent pixels</property>
                <property name="visible">True</property>
                <property name="sensitive">False</property>
                <property name="can_focus">True</property>
                <property name="receives_default">False</property>
                <property name="use_underline">True</property>
                <property name="draw_indicator">True</property>
              </object>
              <packing>
                <property name="right_attach">3</property>
                <property name="top_attach">7</property>
                <property name="bottom_attach">8</property>
              </packing>
            </child>
            <child>
              <object class="GtkLabel" id="compression-level-label">
                <property name="visible">True</property>
                <property name="xalign">0</property>
                <property name="label" translatable="yes">Co_mpression level:</property>
                <property name="use_underline">True</property>
                <property name="mnemonic_widget">compression-level-spin</property>
              </object>
              <packing>
                <property name="top_attach">8</property>
                <property name="bottom_attach">9</property>
                <property name="x_options"></property>
              </packing>
            </child>
            <child>
              <object class="GtkHScale" id="compression-level-scale">
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="adjustment">compression-level</property>
                <property name="draw_value">False</property>
              </object>
              <packing>
                <property name="left_attach">1</property>
                <property name="right_attach">2</property>
                <property name="top_attach">8</property>
                <property name="bottom_attach">9</property>
              </packing>
            </child>
            <child>
              <object class="GtkSpinButton" id="compression-level-spin">
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="invisible_char">&#x25CF;</property>
                <property name="adjustment">compression-level</property>
                <property name="numeric">True</property>
              </object>
              <packing>
                <property name="left_attach">2</property>
                <property name="right_attach">3</property>
                <property name="top_attach">8</property>
                <property name="bottom_attach">9</property>
                <property name="x_options"></property>
              </packing>
            </child>
          </object>
        </child>
        <child type="label">
          <object class="GtkLabel" id="png-options-labal">
            <property name="visible">True</property>
            <property name="label" translatable="yes">PNG Options</property>
          </object>
        </child>
      </object>
      <packing>
        <property name="position">0</property>
      </packing>
    </child>
    <child>
      <object class="GtkFrame" id="animation-frame">
        <property name="visible">True</property>
        <property name="label_xalign">0</property>
        <property name="shadow_type">none</property>
        <child>
          <object class="GtkTable" id="apng-options-table">
            <property name="visible">True</property>
            <property name="border_width">12</property>
            <property name="n_rows">3</property>
            <property name="n_columns">3</property>
            <property name="column_spacing">6</property>
            <property name="row_spacing">6</property>
            <child>
              <object class="GtkSpinButton" id="num_plays-spin">
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="invisible_char">&#x25CF;</property>
                <property name="adjustment">num_plays</property>
                <property name="numeric">True</property>
              </object>
              <packing>
                <property name="left_attach">2</property>
                <property name="right_attach">3</property>
                <property name="top_attach">2</property>
                <property name="bottom_attach">3</property>
              </packing>
            </child>
            <child>
              <object class="GtkLabel" id="num_plays-label">
                <property name="visible">True</property>
                <property name="xalign">0</property>
                <property name="label" translatable="yes">Number of _plays:</property>
                <property name="use_underline">True</property>
                <property name="mnemonic_widget">num_plays-spin</property>
              </object>
              <packing>
                <property name="right_attach">2</property>
                <property name="top_attach">2</property>
                <property name="bottom_attach">3</property>
              </packing>
            </child>
            <child>
              <object class="GtkCheckButton" id="as-animation">
                <property name="label" translatable="yes">As _animation</property>
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="receives_default">False</property>
                <property name="use_underline">True</property>
                <property name="draw_indicator">True</property>
              </object>
              <packing>
                <property name="right_attach">3</property>
              </packing>
            </child>
            <child>
              <object class="GtkCheckButton" id="first-frame-is-hidden">
                <property name="label" translatable="yes">First frame is _hidden</property>
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="receives_default">False</property>
                <property name="use_underline">True</property>
                <property name="draw_indicator">True</property>
              </object>
              <packing>
                <property name="right_attach">3</property>
                <property name="top_attach">1</property>
                <property name="bottom_attach">2</property>
              </packing>
            </child>
          </object>
        </child>
        <child type="label">
          <object class="GtkLabel" id="apng-options-labal">
            <property name="visible">True</property>
            <property name="label" translatable="yes">Animated PNG Options</property>
          </object>
        </child>
      </object>
      <packing>
        <property name="position">1</property>
      </packing>
    </child>
    <child>
      <object class="GtkHButtonBox" id="hbuttonbox">
        <property name="visible">True</property>
        <property name="spacing">6</property>
        <property name="layout_style">start</property>
        <child>
          <object class="GtkButton" id="load-defaults">
            <property name="label" translatable="yes">_Load Defaults</property>
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="receives_default">True</property>
            <property name="use_underline">True</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">False</property>
            <property name="position">0</property>
          </packing>
        </child>
        <child>
          <object class="GtkButton" id="save-defaults">
            <property name="label" translatable="yes">S_ave Defaults</property>
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="receives_default">True</property>
            <property name="use_underline">True</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">False</property>
            <property name="position">1</property>
          </packing>
        </child>
      </object>
      <packing>
        <property name="padding">1</property>
        <property name="position">2</property>
      </packing>
    </child>
  </object>
  <object class="GtkAdjustment" id="num_plays">
    <property name="upper">2147483647</property>
    <property name="step_increment">1</property>
    <property name="page_increment">10</property>
  </object>
</interface>



Possibly we could change these values to equal the new GTK widgets and it would work?
Maybe Partha would know. :)

If the xml calls the wrong class objects could that be the problem?
Gimp-2.7.3 imports apng very well, it just will not show the animation save object.

_________________
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: Thu Aug 25, 2011 7:10 am  (#89) 
Offline
GimpChat Member

Joined: Mar 14, 2011
Posts: 998
Attachment:
File comment: Animated PNG for Gimp 2.7.3 - 32 bit
apng-2.7.3-32bit.7z [211.42 KiB]
Downloaded 104 times
Attachment:
File comment: Animated PNG for Gimp 2.7.3 - 64 bit
apng-2.7.3-64bit.7z [230.35 KiB]
Downloaded 173 times
Hi All,

Need volunteers for feedback. I have compiled apng for Gimp 2.7.3 Windows 7. Attached are two 7z compressed files containing the 32 bit and 64 bit versions of the plugin respectively. I did not create installers since I think the installation should be simple.

All I need from you is to tell me if it is working on your system. if you are having trouble installing, please let me know.

If it all goes well, then I will add it to the "useful plugins" set on my website.

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.

Thanks,
Partha


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Thu Aug 25, 2011 8:11 am  (#90) 
Offline
GimpChat Member

Joined: Aug 05, 2011
Posts: 606
Location: limestone,ny
I get save error
win7 64
gimp 2.6.11

Image


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Thu Aug 25, 2011 8:54 am  (#91) 
Offline
GimpChat Member

Joined: Mar 14, 2011
Posts: 998
alc59 wrote:
I get save error
win7 64
gimp 2.6.11

Image

Sorry - I did say that this version is specific to Gimp 2.7.3 and above. :)


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Thu Aug 25, 2011 8:56 am  (#92) 
Offline
GimpChat Member

Joined: Aug 05, 2011
Posts: 606
Location: limestone,ny
ok thanks


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Thu Aug 25, 2011 8:59 am  (#93) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
I am still not able to save as animation Partha.
There was a DLL in the bin folder with that name already.Were we supposed to overwrite it with the new one?

Image example-
Image

_________________
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: Thu Aug 25, 2011 9:29 am  (#94) 
Offline
GimpChat Member

Joined: Mar 14, 2011
Posts: 998
Rod wrote:
I am still not able to save as animation Partha.
There was a DLL in the bin folder with that name already.Were we supposed to overwrite it with the new one?

Image example-
Image

Rod,

If you are using my Gimp build, then the current libpng in the bin directory would be libpng14-14.dll. The version here is libpng15-15.dll. So, please copy this one as I mentioned. You don't have to overwrite anything.

Thanks,
Partha


Attachments:
File comment: My Screenshot
gimp-2.7.3-with-apng.jpg
gimp-2.7.3-with-apng.jpg [ 635.76 KiB | Viewed 1661 times ]
Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Thu Aug 25, 2011 10:10 am  (#95) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
For Windows XP 32 bit it works - but plug-in-file-apng.ui it requires a "strange" location:
C: \win32\msys\local\share\gimp-apng\ui\plug-ins\plug-in-file-apng.ui
Without the problems of file-png.

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Thu Aug 25, 2011 10:14 am  (#96) 
Offline
GimpChat Member

Joined: Mar 14, 2011
Posts: 998
MareroQ wrote:
For Windows XP 32 bit it works - but plug-in-file-apng.ui it requires a "strange" location:
C: \win32\msys\local\share\gimp-apng\ui\plug-ins\plug-in-file-apng.ui
Without the problems of file-png.


You can move it to location I mentioned and it should work as well. May I ask you to test that?

Thanks!!
Partha


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Thu Aug 25, 2011 10:27 am  (#97) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
For c:\Program Files\Gimp-2.7.3\share\gimp\2.0\ui\plug-ins\plug-in-file-apng.ui gives error:


This is a development version of GIMP. Debug messages may appear here.
Error loading UI file 'C:/win32/msys/local/share/gimp-apng\ui/plug-ins/plug-in-f
ile-apng.ui': Failed to open file 'C:/win32/msys/local/share/gimp-apng\ui/plug-i
ns/plug-in-file-apng.ui': No such file or directory
(file-apng:2108): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (
widget)' failed

_________________
Image

Slava
Ukraini!


Last edited by MareroQ on Thu Aug 25, 2011 10:51 am, edited 1 time in total.

Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Thu Aug 25, 2011 10:46 am  (#98) 
Offline
GimpChat Member

Joined: Mar 14, 2011
Posts: 998
MareroQ wrote:
For c:\Program Files\Gimp-2.7.3\share\gimp\2.0\ui\plug-ins\plug-in-file-png.ui gives error:


This is a development version of GIMP. Debug messages may appear here.
Error loading UI file 'C:/win32/msys/local/share/gimp-apng\ui/plug-ins/plug-in-f
ile-apng.ui': Failed to open file 'C:/win32/msys/local/share/gimp-apng\ui/plug-i
ns/plug-in-file-apng.ui': No such file or directory
(file-apng:2108): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (
widget)' failed

So the plug-in-file-png.ui is loading plug-in-file-apng.ui? I will have to investigate that. I am not sure how the png-ui is interacting with the apng-ui.

Thanks,
Partha


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Thu Aug 25, 2011 10:53 am  (#99) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Only abandoned letter (a) - corrected.
Sorry.

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Gimp APNG Plug-in Compiled for Windows
PostPosted: Thu Aug 25, 2011 11:21 am  (#100) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
I do not know if this helps:
JamesH version (for XP 32 bit)
http://www.gimpchat.com/viewtopic.php?f=8&t=2241&hilit=JamesH&start=40
also has requirements for ui:

Error loading UI file 'C:/msys/opt/GIMP-2.7/share/gimp-apng\ui/plug-ins/plug-in-
file-apng.ui': Failed to open file 'C:/msys/opt/GIMP-2.7/share/gimp-apng\ui/plug
-ins/plug-in-file-apng.ui': Permission denied
(file-apng:3840): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (
widget)' failed

Partha!
Although a strange location (ui) - it works - thank You for sharing.

_________________
Image

Slava
Ukraini!


Top
Post new topic Reply to topic  [ 134 posts ]  Go to page Previous  1, 2, 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