Giter Club home page Giter Club logo

azurlane-painting's Introduction

azurlane-painting

碧蓝航线绘图日记画图工具
如果你是一名老练的程序员,请移步develop分支.

下载

使用

下载解压后,进入该工具文件夹

注意:在该文件夹中,直接运行alpainting.exe是没用的哦

  1. 在空白处鼠标左键点击一下,确保没有正在选中文件
  2. 按住shift,在空白处右键点击,弹出菜单,点击在此处打开 Powershell窗口.如果没有在此处打开 Powershell窗口的话,请点击在此处打开 命令行窗口.两者都没有的话,请确保没有正选中的文件.
  3. 打开Powershell窗口或命令行窗口后,按以下说明输入命令后回车即可.

基本使用

  • 显示帮助信息 ./alpainting.exe -h
  • 合成图片 ./alpainting.exe -m image heres-an-image.jpg
    例如:./alpainting.exe -m D:\neko.png
  • 合成视频 ./alpainting.exe -m video heres-a-video.mp4
    例如:./alpainting.exe -m video D:\喵咪日常.mp4

注意:输入文件路径中不能存在空格

详细参数

指令 含义 默认
-m 指定模式,后面跟image或video来指定图片或视频模式 识别文件后缀名,判断video或image
-o 在后面跟上输出路径来指定输出路径,图片请以.png结尾,视频请以.avi结尾 与原文件目录相同
文件名后缀名改为png或avi
并在后缀名前加上一串时间
如neko-1550088231.png
-x 合成后的宽,后面跟数字,数字为几则横向用几块画板拼一起 1
-y 合成后的高,后面跟数字,数字为几则纵向用几块画板拼一起 1
-c 仅视频模式下有效,后面跟数字,数字为几则原视频每几帧取出一帧合成新视频 1
-b 边缘加粗,后面跟数字,数字越大则加粗越显著.不为0时,只能为单数 0

使用示例

  • ./alpainting.exe D:\neko.png -m image -o D:\neko_al.png -x 1 -y 1 -b 0
    指定输入文件为D:\neko.png,模式为image,输出到D:\neko_al.png,宽1个画板,高1个画板,不使用加粗边缘

  • ./alpainting.exe D:\neko.png -m image -o D:\neko_al_bold.png -x 1 -y 1 -b 3
    指定输入文件为D:\neko.png,模式为image,输出到D:\neko_al_bold.png,宽1个画板,高1个画板,边缘加粗为3
    在这中简单的图片上有边缘加粗效果貌似比较好哦,复杂点的图片都推荐不使用边缘加粗

  • ./alpainting.exe D:\video.mp4 -m video -o D:\video_al.avi -x 4 -y 4 -c 2 -b 0
    指定输入文件为D:\video.mp4,模式为video,输出到D:\video_al.avi,宽4个画板,高4个画板,原视频每2帧取一帧添加到输出视频,不使用边缘加粗

视频示例

  • av43275793
    该视频为video模式,宽4个画板,高4个画板,原视频每2帧取一帧添加到输出视频,不使用边缘加粗
  • av43278623
    该视频为video模式,宽1个画板,高1个画板,原视频每2帧取一帧添加到输出视频,不使用边缘加粗

注意

  • 本工具生成的视频为只有绘画日记画的avi,没有音频轨,没有右下角原视频对比画面,如果需要要自行拿剪辑软件编辑
  • 视频模式下,如果帧数太多,画面太大的话,输出会非常慢,输出文件会很大,动画的话,建议帧数在12fps即可.另
  • 视频模式下,输出为无压缩的avi,需要自己动用压制工具来压制哦

azurlane-painting's People

Contributors

hhhhhgqcdxhg avatar

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.