Code Monkey home page Code Monkey logo

docs's People

Contributors

maxlee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

docs's Issues

SVGA适应.9图

因为在工作中需要制作动态聊天气泡,目前采用的方式比较笨拙,使用一张.9.png的地图,四个角固定四个svga动效文件,这样的方式略显笨拙,资源量也比较大,请问svga能否像.9一样,只需要输出一个svga文件然后根据文本内容自动拉伸,自谦貌似在官网看到有类似描述,后来怎么都找不到了,烦请解惑,谢谢!

svga 会有闪烁

在ios中使用svga会有小概率出现底色为黄色或者绿色的闪烁

SVGA官方插件於adobe animate安裝皆不成功問題[win10]

[更新]安裝ZXP installer(https://aescripts.com/learn/zxp-installer/)
顯示僅相容至animate 2018版,同時網路上也有人分享2020版windows無法使用
(詳情如下圖所示)
image

-----------------------以下為起始問題
我剛試裝了SVGA官方的插件到animate軟件中皆不成功
(2021兩版/2020版都不行,重開機與軟體多次也未出現該插件,但系統安裝時是有顯示安裝成功的)
但試裝After Effects的成功,(我的電腦是window 10版本,,使用的是adobe正版授權軟件)
網路上我“目前”也找不到其它解決方案,不曉得是否有人可以熱心解答呢?謝謝

image
image

以下是AN安裝版本及不成功的畫面:
若安裝成功時擴充功能內會多第三個項目為SVGAConverter才對
image
image

svga FL(AN)版本的插件安装不成功!!

我是设计师,期待SVGA功能已久,但是AE功底不行,依赖FL(AN)制作动画,无奈FL(AN)版本的插件怎么安装都不能成功,FL(AN)各个版本安装完卸载都不知道多少次了,还是安装不了。不解。望能替我找到原因。

Android列表播放问题

我在ViewPager中item里面使用SVGA,发现在滑动过程中有些Item不能正常显示SVAG动画。适配器代码如下,会不会跟复用有关系?请求帮忙看下,谢谢:

`public class ListAdapter extends RecyclerView.Adapter<ListAdapter.ViewHolder>{
private Context context;

public ListAdapter(Context context){
    this.context=context;
}

@NonNull
@Override
public ListAdapter.ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
    View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_list, parent, false);
    return new ViewHolder(view);
}

@Override
public void onBindViewHolder(@NonNull final ListAdapter.ViewHolder holder, int position) {
    SVGAParser parser = new SVGAParser(context);
    parser.decodeFromAssets("angel.svga", new SVGAParser.ParseCompletion() {
        @Override
        public void onComplete(@NotNull SVGAVideoEntity videoItem) {
            holder.svga.setVideoItem(videoItem);
            holder.svga.startAnimation();
        }
        @Override
        public void onError() {

        }
    });
}

@Override
public int getItemCount() {
    return 20;
}

public class ViewHolder extends RecyclerView.ViewHolder {
    private SVGAImageView svga;

    public ViewHolder(View view) {
        super(view);

        svga=view.findViewById(R.id.svga);
    }
}

}`

svga fabricjs

我想实现 svga 在canvas 上绘制 但是canvas 绘制文字 或着 图片后 清空了 我需要在canvas上实现层级

ios 性能问题

请问,我这边对svga文件进行了缓存处理,每次播放完都把svgaPlayer移除了,每次内存都会上涨几兆几十兆,请问这是svga自带的缓存机制造成的吗

svga播放器开发在windows平台上有解决方案吗?

请问svga动图播放器的开发在windows平台上目前有解决方案吗?用C++开发,例如在QT框架上做一个SvgaPlayer来展示svga格式的动图
官网上只有IOS、安卓、WEB、Flutter,在windows上目前还没有实现方法吗?

ios 本地的svga文件,parseWithNamed加载,显示不全,是svga大的问题吗,部分显示不出来

SVGAParser *parser = [[SVGAParser alloc] init];
SVGAPlayer player = [[SVGAPlayer alloc] initWithFrame:CGRectMake(0, 0,ScreenWidth, ScreenHeight0.5)];
[self addSubview:player];
//sample-1_0 是本地格式为svga 的文件
[parser parseWithNamed:@"yanruyu" inBundle:[NSBundle mainBundle] completionBlock:^(SVGAVideoEntity * _Nonnull videoItem) {
if (videoItem != nil) {
player.videoItem = videoItem;
[player startAnimation];
}
} failureBlock:^(NSError * _Nonnull error) {

        }];

SVGA Convertor

SVGA convertor tool do not get install on Windows or iOS. Can you please provide latest installer

svga Tools

svga.io中的svga Tools怎么不能访问了,是关闭了吗?

vue

vue引入本地的svga不生效怎么搞,必须要吧svga文件放在服务器上吗

Issue with SVG Converter on After Effects 2020 and 2022

Subject: Compatibility Issue with SVG Converter on After Effects 2020 and 2022

Hello,

I recently downloaded the SVG Converter project from GitHub. Despite ensuring that I have the latest version of the tool, I'm encountering a significant issue where it fails to function correctly with Adobe After Effects versions 2020 and 2022.

Details:

SVG Converter Version: latest from github
Operating System: Win 10 Latest
After Effects Versions: 2020 and 2022
Error Description: nothing happens when i press the green render button at middle.
Steps to Reproduce:

(I add my mov or png suqence in composition area and select extensions from windows panel)
(I arrange my .svga save location)
(click middle green button with 2.0 and nothing happens. I only get plank svga file with huge file size)
Attempted Solutions:

(I try to reinstall script, updating java, updating node js)

I am seeking assistance in resolving this issue. Any advice or updates that could improve compatibility with After Effects 2020 and 2022 would be greatly appreciated. If additional information is needed, I am happy to provide it.

Thank you for your time and assistance.

Best regards,

AE插件无法导出

同一个电脑,同一个工程文件,同样的AE版本,什么都没动,以前稍微复杂一些的工程导不出了,无限转圈;

加载远程动画,添加的文本不显示

[parser parseWithURL:[NSURL URLWithString:filePath] completionBlock:^(SVGAVideoEntity * _Nullable videoItem) {

            if(videoItem !=nil) {

                weakSelf.gameWinAnimation.videoItem = videoItem;
                NSAttributedString *text = [[NSAttributedString alloc] initWithString:[NSString stringWithFormat:@"编号%d", message.Win] attributes:@{NSForegroundColorAttributeName: [UIColor colorWithHexString:@"#FBF29F"],NSFontAttributeName: [UIFont boldSystemFontOfSize:42.0],}];
                [weakSelf.gameWinAnimation setAttributedText:text forKey:@"songxicontent"];
                [weakSelf.gameWinAnimation startAnimation];
            }
        } failureBlock:^(NSError * _Nullable error) {
            weakSelf.showGameWinAnimation = NO;
        }];

Andorid clearsAfterStop与fillMode怎么使用

在Android:2.5.3打lib下, <com.opensource.svgaplayer.SVGAImageView
android:id="@+id/svga_Iv"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#fff"
android:scaleType="matrix"
app:clearsAfterStop="false"
app:fillMode="Forward" />以上上配置不能停留最后一个画面

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.