I'm currently developing new tool for animation (wxpython-based
replacement of wxwidgets-based xganim, coming soon to addons) and I
would like to include the possibility to export the animation not only
as a sequence of images. It seems to me that the easiest possibility
is to use script images2gif.py [1] for creating animated gif, which is
under BSD license. Would it be possible to have it in grass?
I’m currently developing new tool for animation (wxpython-based
replacement of wxwidgets-based xganim, coming soon to addons) and I
would like to include the possibility to export the animation not only
as a sequence of images.
Wow, looks a great addition.
It seems to me that the easiest possibility
is to use script images2gif.py [1] for creating animated gif, which is
under BSD license. Would it be possible to have it in grass?
As far as I can undestand, the BSD license is not fully compatible with GPL unless it is either the New BSD License/Modified BSD License or the Simplified BSD License/FreeBSD License, which have been verified as GPL compatible by FSF [1]. Maybe you could consider to use ImageMagik instead, which is released under Apache 2 license, which seems compatible with GPL3 [3].
Anyhow I’m not an expert and maybe someone may correct me if I’m wrong.
2012/10/16 Margherita Di Leo <dileomargherita@gmail.com>:
Ahoj Anna,
Hi
As far as I can undestand, the BSD license is not fully compatible with GPL
unless it is either the New BSD License/Modified BSD License or the
Simplified BSD License/FreeBSD License, which have been verified as GPL
compatible by FSF [1]. Maybe you could consider to use ImageMagik instead,
which is released under Apache 2 license, which seems compatible with GPL3
[3].
Anyhow I'm not an expert and maybe someone may correct me if I'm wrong.
Yes you are wrong... Your first link answer the question, "New" BSD
is compatible with GPL, Anna you can use images2gif.py
Hi Anna,
i would prefer to convert the images in a "real" video format to avoid
the limitations of GIF.
Maybe you could try to use PyMedia[1],[2] (well, its pretty old) or
utilize mencoder[3] to create the videos?
2012/10/16 Anna Kratochvílová <kratochanna@gmail.com>:
Hi,
I'm currently developing new tool for animation (wxpython-based
replacement of wxwidgets-based xganim, coming soon to addons) and I
would like to include the possibility to export the animation not only
as a sequence of images. It seems to me that the easiest possibility
is to use script images2gif.py [1] for creating animated gif, which is
under BSD license. Would it be possible to have it in grass?
As far as I can undestand, the BSD license is not fully compatible with GPL
unless it is either the New BSD License/Modified BSD License or the
Simplified BSD License/FreeBSD License, which have been verified as GPL
compatible by FSF [1]. Maybe you could consider to use ImageMagik instead,
which is released under Apache 2 license, which seems compatible with GPL3
[3].
Anyhow I’m not an expert and maybe someone may correct me if I’m wrong.
Yes you are wrong…
Yes you are right and I’m happy to be wrong, I completely missed the (new) …
Your first link answer the question, “New” BSD
is compatible with GPL, Anna you can use images2gif.py
gif is a nice simple option how to present 'moving images'. It is
widely supported and we don't need any external dependency in case of
using images2gif.py. I would like to see this option even if we were
able to export a real video.
Vaclav
On 16 October 2012 15:42, Sören Gebbert <soerengebbert@googlemail.com> wrote:
Hi Anna,
i would prefer to convert the images in a "real" video format to avoid
the limitations of GIF.
Maybe you could try to use PyMedia[1],[2] (well, its pretty old) or
utilize mencoder[3] to create the videos?
2012/10/16 Anna Kratochvílová <kratochanna@gmail.com>:
Hi,
I'm currently developing new tool for animation (wxpython-based
replacement of wxwidgets-based xganim, coming soon to addons) and I
would like to include the possibility to export the animation not only
as a sequence of images. It seems to me that the easiest possibility
is to use script images2gif.py [1] for creating animated gif, which is
under BSD license. Would it be possible to have it in grass?
i would prefer to convert the images in a "real" video format to avoid
the limitations of GIF.
Maybe you could try to use PyMedia[1],[2] (well, its pretty old) or
utilize mencoder[3] to create the videos?
creating video output, eg. using `mencoder` could be added later
(another dependency, will not work on Windows). I would suggest to
start with something which will work on all supported platforms
without any extra dependency (which seems to be `images2gif`).
gif is a nice simple option how to present 'moving images'. It is
widely supported and we don't need any external dependency in case of
using images2gif.py. I would like to see this option even if we were
able to export a real video.
gif is a nice simple option how to present 'moving images'. It is
widely supported and we don't need any external dependency in case of
using images2gif.py. I would like to see this option even if we were
able to export a real video.
Where should this script be placed? It could be a grass module,
however I need to call the writeGif function directly to avoid saving
images to disk (writeGif accepts PIL images).
gif is a nice simple option how to present 'moving images'. It is
widely supported and we don't need any external dependency in case of
using images2gif.py. I would like to see this option even if we were
able to export a real video.
agreed, Martin
IMHO animated GIF's have so many limitations i wouldn't support it for
GIS related map animations at all. The results will be to horrible.
Some arguments against it:
* Very small color range support: 8 bit per pixel == 256 colors for a picture
* True color is only supported when creating 256 bit tiles in a single picture,
each tile can use different parts of a 24 bit RGB color space
* Only suitable for small animations and low-resolution film clips
* No control over animation frame rate/animation flow/pausing while
playing GIF's
Some arguments against it:
* Very small color range support: 8 bit per pixel == 256 colors for a picture
* True color is only supported when creating 256 bit tiles in a single picture,
each tile can use different parts of a 24 bit RGB color space
* Only suitable for small animations and low-resolution film clips
* No control over animation frame rate/animation flow/pausing while
playing GIF's
these limitations should be noted in the manual (please Anna), but
it's not the reason why the tool developed by Anna shouldn't support
animated GIF output. Of course support for video output is very
important, and should be implemented in some way (probably with extra
dependency, eg. mencoder or so).
gif is a nice simple option how to present ‘moving images’. It is
widely supported and we don’t need any external dependency in case of
using images2gif.py. I would like to see this option even if we were
able to export a real video.
agreed, Martin
IMHO animated GIF’s have so many limitations i wouldn’t support it for
GIS related map animations at all. The results will be to horrible.
Some arguments against it:
Very small color range support: 8 bit per pixel == 256 colors for a picture
True color is only supported when creating 256 bit tiles in a single picture,
each tile can use different parts of a 24 bit RGB color space
Only suitable for small animations and low-resolution film clips
No control over animation frame rate/animation flow/pausing while
playing GIF’s
GIF’s have also pro’s, for example I use them in presentations, they usually are more handy to show than videos, you can just add them as images. Of course the option to export regular video as well, if technically possible, would be a plus.
Ciao madi
–
Margherita DI LEO
Postdoctoral Researcher
European Commission - DG JRC
Forest Resources and Climate
I-21020 Ispra (VA) - Italy - TP 261
On Tue, Oct 16, 2012 at 4:23 PM, Margherita Di Leo
<dileomargherita@gmail.com> wrote:
Hi Sören,
On Tue, Oct 16, 2012 at 4:15 PM, Sören Gebbert
<soerengebbert@googlemail.com> wrote:
Hi,
i hope i do not start a flame war.
2012/10/16 Martin Landa <landa.martin@gmail.com>:
> Hi,
>
> 2012/10/16 Vaclav Petras <wenzeslaus@gmail.com>:
>> gif is a nice simple option how to present 'moving images'. It is
>> widely supported and we don't need any external dependency in case of
>> using images2gif.py. I would like to see this option even if we were
>> able to export a real video.
>
> agreed, Martin
IMHO animated GIF's have so many limitations i wouldn't support it for
GIS related map animations at all. The results will be to horrible.
Some arguments against it:
* Very small color range support: 8 bit per pixel == 256 colors for a
picture
* True color is only supported when creating 256 bit tiles in a single
picture,
each tile can use different parts of a 24 bit RGB color space
* Only suitable for small animations and low-resolution film clips
* No control over animation frame rate/animation flow/pausing while
playing GIF's
GIF's have also pro's, for example I use them in presentations, they usually
are more handy to show than videos, you can just add them as images. Of
course the option to export regular video as well, if technically possible,
would be a plus.
The gif output would be something you get quickly and easily and it's
ideal for presentations (as Madi said). I would also export the
sequence of images to let the 'advanced' users make anything what they
want.
Anna
Ciao madi
--
Margherita DI LEO
Postdoctoral Researcher
European Commission - DG JRC
Forest Resources and Climate
I-21020 Ispra (VA) - Italy - TP 261