in reply to Scaling an image with Gtk2::Gdk::Pixbuf->scale

Hi,
If you don't get good assistance here, try the gtk-perl mailing list.

I couldn't reproduce anything that matched your description of the problem.
Instead, I got strange positioning and doubling up of the image - perhaps because the size of the image I was using was different to the one you were using.

If you do contact the gtk-perl mailing list, I suggest attaching your cat.bmp so that they have exactly the same source image as you're using.
And if you like to provide a link to that image, I'll grab it and try it out here .... but it's likely that I won't be able to help you much beyond establishing whether or not "it's the same for me" ;-)
Providing a link to that image might also help others here provide some assistance.

Cheers,
Rob
  • Comment on Re: Scaling an image with Gtk2::Gdk::Pixbuf->scale

Replies are listed 'Best First'.
Re^2: Scaling an image with Gtk2::Gdk::Pixbuf->scale
by Anonymous Monk on Oct 22, 2017 at 08:43 UTC

    Thanks, I'll try the mailing list.

    By the way, I tried many different types of images, of different sizes, and got the same effect every time. I didn't notice any strange positioning or doubling up.

    (Looks like there are no Perl Monks Approves HTML tags for links, so I'll use code tags)

    https://imgur.com/a/iqe2t
      https://imgur.com/a/iqe2t

      Looking at that, I can see that I am getting the same as you. (My initial assertion to the contrary is probably just the result of not having properly assessed what you had written.)

      Cheers,
      Rob