I just tried it with gim 1.2.5 on a GNU/Linux system, it did happen here.
I figured out what is happening, and indeed, it may be filled in as a bug.
It happens that a transparente region of the layer has got hidden
RGB information. This is unseen, but you can maximize the alpha channel to Full opacity using the Curves tool.
What happens is that the text tool sets the RGB color in the transparent region to a different color than Layer to Image Size does.
The Sobel filter - and here is your bug - seens to ignore the alpha channel when doing it's work. Thus, your layer is seen as a white rectangle surrounded by a black background, by the Sobel filter.
If you happen to have gimp-perl working, use Image->Alpha->Clear Alpha before applying the sobel filter and it will work.
Actually this whole procedure shows up a bug in the text tool also - the background color it uses should not be the same as the foreground.
But since the text tool is being totally rewritten for the next GIMP, and this bug doesn't "byte", you can leave it off the reports, IMHO.
[EMAIL PROTECTED] wrote:
I think I've found a bug with the sobel filter. However before I fill a bug report I'd like to know if it is just specific to the windows version. Can people on Linux reproduce this:
-Create a new image (default: 256 x 256, white background) -Swap foreground and background colour so that white is foreground -Use the text tool to create some text, do not anchor the text but promote it to a new layer -text layer to image size -uncheck keep transparency -Apply sobel
This result in the outline of the text layer before it was resized. How can that be ?
However if you do this (which should be equivalent to what is above):
-Create a new image(default: 256 x 256, white background) -Swap foreground and background colour so that white is foreground -Create a new transparent layer -Use the text tool to create some text, anchor it to the transparent layer The result is the same as above but when I apply sobel, it works
Guillaume _______________________________________________ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
_______________________________________________ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user