animated-gif

How to edit and watermark animated gifs, preferably through php?

这一生的挚爱 提交于 2019-12-12 03:43:56
问题 Ive been looking everywhere for something that could manipulate animated gif files, server-side, preferably through php, but simple command line tools that could be executed via exec() would do also. Essentially Im looking to watermark animated gif files, as well as have the ability to cull frames out of animations (every 2nd, 3rd frame to be removed for example). Anything like that out there? 回答1: http://www.php.net/manual/en/book.imagick.php See animated GIF example here: http://valokuva

How to display gif on Android device [duplicate]

∥☆過路亽.° 提交于 2019-12-11 20:20:09
问题 This question already has answers here : Display Animated GIF (29 answers) Closed 4 years ago . I'm trying to display gif images on Android. I found this code on SO, which is said a correct solution by some users : webView wView = new webView(this); wView.loadUrl("file:///android_asset/piggy.gif"); setContentView(view); It says my gif file should be in assets folder. What should I do if my gif file is in drawable folder? And shouldn't the last line be like this : setContentView(wView); Other

Java: get frames from animated GIF without ImageReader

╄→гoц情女王★ 提交于 2019-12-11 19:49:54
问题 I'm developing AppEngine application. One of it's features is splitting an animated .gif image into separate frames. I've searched a lot to find the way how to do it and finally found the solution. Unfortunately the solution is based on ImageReader and I cant use it on the server, because: javax.imageio.ImageReader is not supported by Google App Engine's Java runtime environment Are there any other ways to decode GIF-image without this class? 回答1: You should use Images Java API. You can find

Animated GIF in Splashscreen

坚强是说给别人听的谎言 提交于 2019-12-11 19:25:50
问题 I have a JAR file generated by an ANT script with the following code in it: <manifest> <attribute name="Main-Class" value="org.epistasis.exstracs.Main"/> <attribute name="Class-Path" value="."/> <attribute name="SplashScreen-Image" value="logo_anim.gif"/> </manifest> <!--Some code--> <zipfileset dir="." includes="logo.png"/> <zipfileset dir="." includes="logo_anim.gif"/> <zipfileset dir="." includes="icon.png"/> When I run the JAR file, no splash screen is generated. I verified that the GIF

Gif is flickering

帅比萌擦擦* 提交于 2019-12-11 18:07:18
问题 I'm making a window in c++win32 api. And I'm showing gif using gdi+. And this gif is loaded from resource and making IStream*. But when I used not path to gif, and used IStream for creating GDIPlus::Image, and showed it, the gif started to flick. P.S. The window is SW_SHOWMAXIMIZED I have tried to return 1 in WM_ERASEBKGND message, making NULL WNDCLASSEX.hbrBackGround, use InvalidateRect(hwnd,&rc, FALSE) P.S. rc is RECT rc; GetWindowRect(hwnd,&rc); But it didn't worked; case WM_TIMER: if

GIF Loader image does not animate during ajax call

纵饮孤独 提交于 2019-12-11 16:31:45
问题 I am showing DIV element consisting a loader gif image while ajax call response is fetched. Initially DIV element will be hidden and on the click of a chekbox i am showing the loader DIV later ajax call happens and after ajax call is completed i am hiding loader DIV again. When i show the loader div the image does not animate, it just remains as a static image. how can i make it animate. please suggest. Thanks in advance. Here is the code HTML <div id="loading" style="display:none;"><img src=

Set GIF image to Custom ImageView

老子叫甜甜 提交于 2019-12-11 13:22:42
问题 I have custom ImageView for animated GIF image. i want to show GIF image, I tried but in this case it is contain url in Async instead I want to show GIF image from raw folder without using Glide. Anyone have any idea how to show image? Please guyz help to solve this problem!!! I tried this for set raw file new GifStaticData() { @Override protected void onPostExecute(Resource drawable) { super.onPostExecute(drawable); gifImageView.setImageResource(R.raw.earth_tilt_animation); // Log.d(TAG,

Animated GIF's framerate seems lower than expected

僤鯓⒐⒋嵵緔 提交于 2019-12-11 12:41:51
问题 I have a winforms application, which has a gif on it for letting users know about stalling processes. The problem is it plays much slower than it seems on other applications (chrome, internet explorer). I have tried the gif on PictureBox and Label but resulting speed is same. Then after a little research I've come accross this question and the answer of legendary @Hans Passant, but unfortunately applying the boilerplate code suggested by him didn't make any difference. Below is the simple

Gif Animation in tkinter with PILL Flickering On Every Other Frame

心已入冬 提交于 2019-12-11 08:35:16
问题 I am writing a simple widget to animate gifs in tkinter using PILL since tkinter does not natively support them. The issue I am having is that some gifs are flickering. Below is an example if this effect. I am trying to animate this gif: This gifs source can be found here. However, when I run my code, the animation turns out like this: I split apart the gif, and every other frame is partial like this: After some research I believe this is a way of compressing gif files so that some frames

Unable to play GIF image in Xamarin.Forms (Portable)

和自甴很熟 提交于 2019-12-11 06:56:50
问题 I am trying to play the GIF images with the Xamarin.Forms (Portable) project. I have implemented with the following code but unable to Play GIF, I don't event see the static image. There is no error or crash in this code, but I am not able to see the GIF image. Is there anything wrong in the code? Interface: public interface IGif { string Get(); } iOS Implementation: [assembly: Dependency(typeof(GifView_iOS))] namespace Project.iOS { public class GifView_iOS : IGif { public string Get() {