Animated GIF in PictureBox?

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

Firstly, I’m amazed by the framework.  Looks even better than Visual Web GUI ever was.  I’m looking at the possibility of porting a small VWG application and so just looking at areas which have caused problems in the past.

For a lot of the complex things where VWG fell short (like updating client from server) you’ve nailed it.

A really silly question probably, but should GIF images animate in the WiseJ PictureBox control like they do in WinForms?  I know most browsers can show GIF animations so I was thinking this would just work.

I just get the first frame.

Regards,

Mark

  • You must to post comments
0
0

This appears to work perfectly now with no changes to the same test project I found the issue.

Regards,

Mark

  • You must to post comments
0
0

Hi Mark,

WJ-7386 is fixed in build 1.2.19.

Can you please retry ?

Best regards
Frank

  • You must to post comments
0
0

You are right! Logged as WJ-7386. Looks like the framework returns a PNG instead of a GIF.

  • You must to post comments
0
0

Hi Frank,

Firstly, thanks for the quick reply, appreciated.

I have run your test project and of course it works fine, the difference is I think they way I was assigning the image.  There seems to be a sublte difference between:

pictureBox1.Image = global::TestAnimatedGIF.Properties.Resources._36DVbRG;

and

pictureBox1.ImageSource = “36DVbRG.gif”;

Where 36DVbRG.gif is the GIF file that I couldn’t get to work.  But it does work using .ImageSource and not if using .Image

Perhaps this is a bug, or perhaps I shouldn’t using the .Image property?

Hope this help,

Mark

  • You must to post comments
0
0

Hi Mark,

first of all, thanks for your kind words about Wisej.

I have quickly build a simple sample trying to reproduce the issue you described,
but my sample appears to work fine (see attachment).

Can you please test it on your side and also share a few more infos about your setup
(browser, OS).

Thanks in advance !

Best regards
Frank

Attachment
  • You must to post comments
Showing 5 results
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json