Hi,
First of all thank you for responding.
This is exactly what I'm doing now ... I record my gis in animation shop without optimization.
The problem is that now I work with photoshop and it is painful to switch from one to another ... especially for some people I know, and as the only photoshop software.
I figured the same conclusions as you!
But I re-explained the problem with screenshots in case someone pass by and bring a solution.
So I did a little research and now I know why the optimized animations are rendered like that.
I have an idea of how to fix it:
copy and paste frame 2 to frame 1
copy and paste frame 3 to frame 2
etc ...
but I need the position (binary data gif) top left frames
and I do not know the code in GIFdecoder.class to allow me to retrieve.
I'm sure he does not miss much, because the data "top" and "left" exist in the data.
img12.imageshack.us/img12/7286/expl
...
if I save my images with
fwrite (fopen ("$ .. / test/frame0 I.gif", "wb") $ frames [$ i]);
frames are small, but if I works in the software "animation shop" they are well 120x60, so it is they remembered the actual size.
the idea with the top and left :
img10.imageshack.us/img10/1368/fram
...
I found this link on gifs:
fileformat.info/format/gif/egff.htm
Local Image Descriptor
The Local Image Descriptor appears before each section of image data and has the following structure:
typedef struct _GifImageDescriptor
{
BYTE Separator; /* Image Descriptor identifier */
WORD Left; /* X position of image on the display */
WORD Top; /* Y position of image on the display */
WORD Width; /* Width of the image in pixels */
WORD Height; /* Height of the image in pixels */
BYTE Packed; /* Image and Color Table Data Information */
} GIFIMGDESC;
Separator contains the value 2Ch and denotes the beginning of the Image Descriptor data block.
and here :
php.net/manual/de/function.imagecre
...
Hoping that someone will be coded this part
thank you in advance.