Quantcast
Browsing all 233 articles
Browse latest View live

使用这 5 个工具为 Google 的 INP 指标做好准备

使用这些免费工具可以轻松提高网站 Interaction To Next Paint (INP) 分数 与下一 […]

View Article


Saving Resized Animated GIF Matching Canvas Output

I am working on an exercise that allows users to upload an image, resize it, and download the resized image. The functionality works well for static images (JPEG, PNG), but I am encountering issues...

View Article


Gif no longer animated after replacing with JLabel's setIcon method

I am still very new to Java and programming in general. I am trying to display a GIF using Swing and the following code: JPanel contentPane; JLabel imageLabel = new JLabel(); public FrostyCanvas(String...

View Article

PIL text issue when making gif

I'm trying to use PIL/Pillow to make a meme with a GIF. I noticed that whenever I convert it to RGB, the text is messed up(not showing up white/is somewhat transparent and black) but the background is...

View Article

Compress GIF image and append in formdata

In one of my .Net project, I want to compress image (jpg, jpeg, png, gif...) by javascript. Except GIF, compress is working fine. I tried different ways. But gif compress not working. Some process is...

View Article


Gifsicle '--explode' via web not working as expected

I am importing gifsicle via 'https://unpkg.com/gifsicle-wasm-browser@1.5.16/dist/gifsicle.min.js' and have successfully used it to optimize my gif files generated with gif.js.However, I am now...

View Article

Image may be NSFW.
Clik here to view.

Edit animated gif header loop value using Python

I'd like to change the loop header value of a gif animation, specifically this one:attribution: Gonfer at en.wikipediaI am attempting to use the python imaging library, PIL, and have come up with the...

View Article

How to add a GIF to a button

I tried to add a GIF to a button in C# by adding the GIF to resources and setting it as the button image, but it didn't work very well (next frames appear over the previous ones). The problem seems to...

View Article


Golang create gif animation from png images

I'm trying to create GIF animation from png images. But I get it with color Noise. Screenshot :https://prnt.sc/22rrrfnI have tried to change Pallete.Plan9 because 256 colors maybe not enough but didn't...

View Article


Image may be NSFW.
Clik here to view.

How is this animated PNG image aware of the current time and date?

I received an email from a company which has a countdown like this in it:(This is not the "live" one, it's a copy - as a GIF, not PNG - of how it looked at one point, since the countdown has now ended...

View Article

Image may be NSFW.
Clik here to view.

Adjusting hue & saturation on all frames of a GIF

I am trying to apply hue and saturation effects to all frames of a gif using this library.The adjust.Hue() and adjust.Saturation() functions accept an *image.RGBA, so I am converting the...

View Article

Golly game of life in a gif

I have a talk in a few days. I have to make a reference to the cellular atomata. I would like to show a little gif in the slideshow where the evolution of cellular automata is shown, so my question...

View Article

Saving a GIF from a byte array will have a seemingly random time in the...

I am trying to make an app where users are able to share images and GIFs with each other. Saving images seems to be going fine there are not many issues on that part, however for saving GIFs a little...

View Article


Problems Creating GIFs with gif.js Library

I'm experiencing problems creating a GIF using gif.js with images generated from html2canvas. I have a list of divs that I convert into images and store in an array. However, when I try to create the...

View Article

Base64 encode an animated gif with javascript

I'm working on a meme generator that allows the user to input text on the top and bottom of their chosen meme template. In my current system, I have a few html <canvas> elements stacked on top of...

View Article


View a 3d object with texture and save it to a .gif

I can visualize my 3d object with texture with the following script but the whole image is too dark. How can I make the whole thing lighter?Plus, if you know how to save it as a rotating gif that would...

View Article

How to play .gif for some seconds?

Stack([Image.asset("assets/Icon/Checkbox.png", color: uncheckedColor, height: 22, width: 22, ),Image.asset("assets/Icon/fullyComplete1.gif", color: uncheckedColor, scale: 2.5, opacity: const...

View Article


Image may be NSFW.
Clik here to view.

Problem in adding GIF in React Native App

I'm trying to display a GIF in my React Native App.I also add animated-gif in android>app>build.gradle.dependencies {// The version of react-native is set by the React Native Gradle...

View Article

flutter_gif package giving error after i upgraded a flutter project from 3.8...

i just upgraded my flutter project from 3.8 to 3.24, kotlin to 1.9.24 and gradle to 8.4 . but i kept getting the error below. i really need to use the gif image as a welcome image after splash screen...

View Article

base64 encoded animated gif as css background?

I have an animated GIF encoded into my CSS as such:.magicBg { background-image: url(data:image/gif;base64,R0lGODlhAQBkAPcAAAAAAAEBAQICAgMDAwQEBAUFBQYGBgcHBwgICAkJCQoKCgsLCwwMDA0ND...);}This animated...

View Article
Browsing all 233 articles
Browse latest View live