Home » Developing U++ » U++ Developers corner » Animated GIF support, anybody?
Re: Animated GIF support, anybody? [message #27227 is a reply to message #27120] |
Tue, 06 July 2010 09:29 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
koldo wrote on Sat, 26 June 2010 12:12 |
luzr wrote on Sat, 26 June 2010 18:02 |
koldo wrote on Thu, 24 June 2010 17:27 | Very good
Now last disposal method ("Restore to previous") is included in RasterMultiPage Reference demo.
And now is the time for the GIF animation player control. If you tell me the basic class methods I can do it for yourself.
|
You mean like specialized Ctrl to display GIF animation? Or rather some generic animation player?
Mirek
|
Yes
Something somebody puts in the layout designer, enter a file name or String with GIF file, and just plays the animation when the window is opened.
|
No want to spoil the fun, but I think this is way specialized.... and the moment you add this, people will start requiring support for "real" video (divx, xvid, x264). Are your ready for THAT?
That said, encapsulation of those formats would be really really nice.
But without them, animation player should be reserved for examples or bazaar IMO.
|
|
|
Re: Animated GIF support, anybody? [message #27289 is a reply to message #27227] |
Sun, 11 July 2010 06:44 |
|
koldo
Messages: 3358 Registered: August 2008
|
Senior Veteran |
|
|
luzr wrote on Tue, 06 July 2010 09:29 |
koldo wrote on Sat, 26 June 2010 12:12 |
luzr wrote on Sat, 26 June 2010 18:02 |
koldo wrote on Thu, 24 June 2010 17:27 | Very good
Now last disposal method ("Restore to previous") is included in RasterMultiPage Reference demo.
And now is the time for the GIF animation player control. If you tell me the basic class methods I can do it for yourself.
|
You mean like specialized Ctrl to display GIF animation? Or rather some generic animation player?
Mirek
|
Yes
Something somebody puts in the layout designer, enter a file name or String with GIF file, and just plays the animation when the window is opened.
|
No want to spoil the fun, but I think this is way specialized.... and the moment you add this, people will start requiring support for "real" video (divx, xvid, x264). Are your ready for THAT?
That said, encapsulation of those formats would be really really nice.
But without them, animation player should be reserved for examples or bazaar IMO.
|
Hello Mirek
I think a GIF animation is not used to display movies, just to show dynamic elements in motion, like an hourglass or a progress bar (remember the foot in Nautilus).
In fact I am working actively in a media player, but believe me, it is really much heavier than a GIF player.
Anyway if GIF animation is not going to be included in CtrlLib I will include it in Bazaar with pleasure .
Best regards
Iñaki
|
|
|
Re: Animated GIF support, anybody? [message #27307 is a reply to message #27289] |
Sun, 11 July 2010 22:22 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
koldo wrote on Sun, 11 July 2010 00:44 |
luzr wrote on Tue, 06 July 2010 09:29 |
No want to spoil the fun, but I think this is way specialized.... and the moment you add this, people will start requiring support for "real" video (divx, xvid, x264). Are your ready for THAT?
That said, encapsulation of those formats would be really really nice.
But without them, animation player should be reserved for examples or bazaar IMO.
|
Hello Mirek
I think a GIF animation is not used to display movies, just to show dynamic elements in motion, like an hourglass or a progress bar (remember the foot in Nautilus).
|
Well, I have only outlined what IMO people will want after you add any kind of player
Quote: |
In fact I am working actively in a media player, but believe me, it is really much heavier than a GIF player.
|
Still, if current Raster interface is good enough for that, creating Raster player would make possible to connect it with streaming video one day... (represented as Raster).
Quote: |
Anyway if GIF animation is not going to be included in CtrlLib I will include it in Bazaar with pleasure .
|
Well, I can include it with uppsrc, but I do not think it is a generic widget for CtrlLib. After all, RichEdit or Report are separate packages as well.
Mirek
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Animated GIF support, anybody? [message #28642 is a reply to message #28601] |
Thu, 09 September 2010 09:09 |
Mindtraveller
Messages: 917 Registered: August 2007 Location: Russia, Moscow rgn.
|
Experienced Contributor |
|
|
It looks like RasterPlayer package has linking errors:
Linking...
$blitz.obj : error LNK2005: "class Upp::Image __cdecl GetRect(class Upp::Image const &,struct Upp::Rect_<int> const &)" (?GetRect@@YA?AVImage@Upp@@ABV12@
ABU?$Rect_@H@2@@Z) already defined in RasterPlayer.obj with MSC9 compiler, if Functions4U is added to project.
This is because GetRect duplicates one from Functions4U.
I've changed function name to GetRectRP and it links fine (quick & dirty).
It would be also great to support gif transparency.
[Updated on: Thu, 09 September 2010 09:12] Report message to a moderator
|
|
|
|
|
|
Goto Forum:
Current Time: Sun Apr 28 23:02:32 CEST 2024
Total time taken to generate the page: 0.06054 seconds
|