[Gegl-developer] unsharp-mask adds border to image

Thor Kristoffersen thor at nr.no
Thu Aug 14 02:15:50 PDT 2008


I'm using GEGL 0.0.18 (from Debian lenny).  When I run the command below,
GEGL adds an eight pixel wide, transparent border to the image.  It appears
that this is done by the unsharp-mask filter, because when I leave it out
the border goes away.  Is this a bug?  If not, how can I get rid of the
border?

gegl -i foo.xml -o foo.png foo.jpg

The content of foo.xml is

<image>
  <stack>
      <filter type='unsharp-mask'>
          <params>
              <param name='std-dev'>2.0</param>
              <param name='scale'>1.0</param>
          </params>
      </filter>
      <filter type='brightness-contrast'>
         <params>
              <param name='contrast'>1.05</param>
              <param name='brightness'>0.005</param>
         </params>
      </filter>
      <layer src='foo.jpg'/>
  </stack>
</image>


Regards,
Thor




More information about the Gegl-developer mailing list