Downscaling / resizing not supported for animated GIFs / WebPs
See original GitHub issueGIF and JPG are in recyclerview
I want to do fitXY but gif is small --> git
recyclerview item layout
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.facebook.drawee.view.SimpleDraweeView
android:id="@+id/image"
android:layout_width="match_parent"
android:layout_height="170dp"
app:actualImageScaleType="fitXY"/>
</android.support.constraint.ConstraintLayout>
recyclerview adapter
@Override
public void onBindViewHolder(GallaryAdapter.ViewHolder holder, int position) {
final CharacterData data = characterData.get(position);
if(data.getType() == CharacterData.TYPE_GIF){
holder.imageView.setController(Fresco.newDraweeControllerBuilder()
.setUri(data.getUri())
.setAutoPlayAnimations(true)
.build());
}else{
holder.imageView.setImageURI(data.getUri());
}
}
Thank you for your help.
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Supported formats and limitations · Cloudflare Image ...
Image Resizing can: Resize and generate JPEG and PNG images, and optionally AVIF or WebP. Save animations as GIF or animated WebP. Support...
Read more >Trending Plugins tagged as downsize | Figma Community
Create and export animated GIFs, WebPs, WebMs or MP4 videos from selected layers. ... Supports compressing/exporting multiple sizes and formats per layer.
Read more >animated gif images not working after resize - General Support
Guessing this is the downscaled version. Haven't tried these with ProcessWire, but I've seen image resizing destroy animations in GIF files ...
Read more >Images done right: Web graphics, good to the last byte
All brands of pixels and DPR; SVG magic; Evil Martians' Big Image Compression Cookbook; Animations on the web.
Read more >animated GIF resize - Ezgif
Animated GIF resizer. Select image. Upload image from your computer: Or paste image URL: Supported image types: GIF, JPG, PNG, BMP, WebP, APNG,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks a lot, I will try.
@oprisnik I want to implement the “resizing for Webp” feature, Could you give us some idea or suggestions.