Code Monkey home page Code Monkey logo

fxtools's Introduction

FXTools

A practical tool developed using JavaFX; Software development for PC or mobile; Image tools,Color tools,Svg Tools, Font tools, Library and so on....

一款使用JavaFX开发的工具软件,具有图片处理工具,颜色工具,字体预览工具,Svg工具,等...

Youtube Video Introduction: https://youtu.be/lDj1Wa_2IfM

I wrote an IDEA plug-in named Java FXTools before, but the API of IDEA will change, and I don’t have the time and energy to maintain it all the time, so I made this stand-alone version;Rewrite the code, re-layout, and add new functions;
The project uses java17 for development, but is trying to be compatible with java8 (except for screenshot-related APIs). So it doesn't use too many advanced syntax features.
The screenshots of the java 9+ version are clear; java 8 cannot capture high-definition resolution screens, so the screenshots are too small under high-resolution screens; Only need to modify a few lines of code related to the screenshot can support java8.

我之前写过[Java FXTools]的IDEA插件,但是IDEA的API会变,我没时间和精力一直维护时间,所以做了这个单机版;重写代码,重新布局,增加新功能;
项目使用java17进行开发,但是在试图兼容java8(除开截图相关API). 所以并没有使用太多语法上的高级特性.
java 9+版本截图清晰; java 8无法抓取高清分辨率的屏幕,所以在高分辨率屏幕下截图太小;只需要修改几行与截图相关的代码就可以支持java8.

FXTools_Doc

A practical tool developed using Java FX;Software development for PC or mobile; the main functions are as follows:

Image Tools:

  • [1] App Icon Generator: Supports icon generation for Windows, MacOS, Linux, iPhone, iPad, watchOS, Android and other systems;( icon, icns, png...)
  • [2] Image Sets Generator: Support to generate multiple images (eg. 1x,2x,3x...) of javafx, ios, android;
  • [3] Format Converter: Support common image format conversion;eg. svg, webp, png, bmp, jpg, gif.
  • [4] Gif Decoder: Decompose the Gif animation into frame-by-frame pictures; (mainly convenient for game engines such as FXGL).
  • [5] Image stitching: Splicing multiple pictures into one picture, improving efficiency and reducing the number of io; (mainly convenient for game engines such as FXGL).
  • [6] Screenshot; take a picture of a specified location on the screen; (*The screenshots of the java 9+ version are clear; java 8 cannot capture high-definition resolution screens, so the screenshots are too small under high-resolution screens; If modify the source code to support java 8, only need to modify a few lines of code related to the screenshot.)

Color Tools:

  • [1] Absorb the color of the specified position on the screen;
  • [2] The selected color can generate fx CSS code or java code;
  • [3] 20+ pages of color matching reference;
  • [4] Convert between multiple color formats: HSB,RGB,HSL,Hex

SVG Tools:

  • [1] Support preview of SVG Path; easy to view the display effect of svg under fx;
  • [2] It is convenient to extract the Path attribute in the SVG file, which is convenient for use in FX;
  • [3] Generate fx css code or java code;

Font Tools:

  • [1] Preview the font effect that comes with the system;
  • [2] Support adding external fonts. Preview;
  • [3] Generate fx css code or java code;

Library:

  • [1] ReferenceAwesomeJavaFXLists many great open source libraries, books, etc.;

Tips:

  • [1] When processing images, multi-threading is supported; the number of threads can be set on the settings page; the default is 2 threads;
  • [2] Turn off the image preview option and turn off the parse image size option in the settings page, Will get a faster loading speed of the image;
  • [3] Turn off parsing image size and generating thumbnails when loading images, which can speed up image processing;
  • [4] After the image processing is completed, the output directory of the image will be opened by default;
  • [5] This tool support DarkMode and LightMode;

FXTools_Doc_中文

使用JavaFX开发的实用小工具;实用于PC端和移动端;主要有如下功能:

图片工具:

  • [1] 程序图片生成器: 支持Windows、Mac OS、Linux、i Phone、i Pad、watch OS、Android等系统的图标生成;( icon, icns, png...)
  • [2] 多倍图切图工具: 支持生成javafx、ios、android等平台多倍图图片;例如。 1x,2x,3x
  • [3] 图片的格式转换: 支持常见的图像格式转换;例如: svg, webp, png, bmp, jpg, gif.
  • [4] Gif动图解码: 把Gif动图分解成一帧一帧的图片;(主要方便FXGL等游戏引擎使用).
  • [5] 图片拼接: 把多张图片拼接成一张图片,提高效率,减少io次数;(主要方便FXGL等游戏引擎使用).
  • [6] 截屏;保存屏幕上指定位置的图像;(* java9以上的版本支持高清截屏;java8在高分辨率的情况下截屏偏小;如果要支持java8,那么只需要修改几行有关截图的代码)

颜色工具:

  • [1] 吸取屏幕指定位置的颜色;对屏幕指定区域进行截图; (java8版本在高分辨率屏幕下,截图效果不佳)
  • [2] 选择的颜色,可以直接转为(fx)CSS代码或者java code;
  • [3] 20+多页的颜色搭配参考;
  • [4] 多种颜色格式互相转换 HSB,RGB,HSL,Hex

SVG工具:

  • [1] 支持SVG Path的预览;方便查看svg在fx下的显示效果;
  • [2] 方便提取SVG文件里的Path属性,方便在FX里使用;
  • [3] 生成Path代码,生成fx css代码或者java代码;

字体工具:

  • [1] 预览系统自带的字体效果;
  • [2] 支持添加外部字体.进行预览;
  • [3] 生成fx css代码或者java代码;

图书馆:

  • [1] 参考AwesomeJavaFX列举了很多很棒的开源库,书籍等

Tips:

  • [1] 图片处理时,支持多线程;在设置页面可以设置线程数量;默认是2线程;
  • [2] 在设置页面关闭图片预览和解析图片大小,可以加快图片加载速度;
  • [3] 关闭加载图片时解析图像大小和生成缩略图,可以加快处理图片的速度;
  • [4] 图片处理完成默认会打开图片的输出目录;
  • [5] 软件支持 深色模式 与 浅色模式;

Thanks 感谢

Thanks to ej-technologies for their open source license. We use Install4j to build installers.
Thanks to Gluon for documents.
Thanks to SceneBuilder Used ColorPicker, DoubleTextField etc.
Thanks to controlsfx
Thanks to openjfx for documents, sample project, maven plugin, etc .
Thanks to AwesomeJavaFX
Thanks to guava
Thanks to gson
Thanks to webp-imageio for image processing.
Thanks to thumbnailator for image processing.
Thanks to image4j for image processing.
Thanks to Apache Commons Imaging for image processing.
Thanks to batik for svg processing.
Thanks to animated-gif-lib for image processing.
Thanks to TwelveMonkeys for image processing.
Thanks to ICNS for image processing.
Thanks to web_colorfor color matching.
Thanks to various references on the internet.

fxtools's People

Contributors

leewyatt 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.