当前位置:网站首页>VFP calls the command line image processing program, and adding watermark is also available
VFP calls the command line image processing program, and adding watermark is also available
2022-06-25 11:44:00 【VFP of Garfield】
NConvert yes XnView A command line tool for batch image processing , It has many image processing functions , For example, metadata editing 、 Picture format conversion 、 Resize the picture 、 Brightness adjustment 、 Fuzzy 、 Sharpen, etc , How much support 500 Multiple image formats , Not just for Windows platform , stay linux、Mac And other platforms have corresponding versions , Because it adopts the operation mode of command line , Therefore, it is more suitable for advanced users .
NConvert The main features
One 、 Numerous toolsets
1、 Metadata editing .
2、 transformation : rotate , tailoring , Resize …
3、 adjustment : brightness , Contrast , saturation ,…
4、 filter : Fuzzy , Relief , sharpening ,…
5、 effect : shielding , watermark ,Vignetti
Two 、 Multi platform support
NConvert Multi platform , Apply to Windows,Mac,Linux,FreeBSD,OS / 2,DOS32 LE,MSDOS,ATARi,BeOS x86,QNX,Irix,Solaris,HP-UX,AIX etc. .
3、 ... and 、 Excellent compatibility
NConvert Compatible with 500 More than picture formats ( Include Multipage And animation static format APNG,TIFF,GIF,ICO etc. ), And export to about 70 Different file formats .
Four : A simple example
Add watermark :
-wmfile file : File as watermark
-wmpos x y : Watermark location
-wmflag flag : Watermark location
top-left, top-center, top-right
center-left, center, center-right
bottom-left, bottom-center, bottom-right
-wmopacity value : Watermark transparency (0-100)
=> nconvert -wmpos 100 200 -wmflag center -wmopacity 30 -wmfile sample.jpg origin.jpg
take sample.jpg Add as watermark to origin.jpg, And set the transparency to 30
Add text to picture :
-text string : Add text to picture
-text_font name size : Text type and size
-text_color r g b : Text color
-text_back r g b : Text background color
-text_flag pos : Text location
top-left, top-center, top-right
center-left, center, center-right
bottom-left, bottom-center, bottom-right
-text_pos x y : Displacement or offset
-text_rotation degrees : Text rotation
11
=> nconvert -text_pos 100 150 -text_rotation 30 -text_back 255 255 120 -text Rain forest wind in.jpg
Clockwise on the picture 30 The degree is printed with words , The text background is yellow
nconvert -text_font Verdana 72 -text_pos 90 100 -text_rotation 120 -text_flag center -text_color 255 0 255 -text_back 255 255 255 -text How do you know it's not a fish *.jpg
More information :www.sn58.cn
边栏推荐
- Use of comparable (for arrays.sort)
- Redis6 note02 configuration file, publish and subscribe, new data type, jedis operation
- Shichuang energy rushes to the scientific innovation board: it plans to raise 1.1 billion yuan, with an annual revenue of 700million yuan and a 36% decrease in net profit
- 依概率收敛
- Evaluating the overall situation of each class in a university based on entropy weight method (formula explanation + simple tool introduction)
- TCP如何處理三次握手和四次揮手期間的异常
- Thingspanel releases Internet of things mobile client (multiple pictures)
- 客户经理的开户二维码开户买股票安全吗?有谁知道啊
- Ladder Side-Tuning:预训练模型的“过墙梯”
- Presto Web UI introduction
猜你喜欢

Double tampon transparent cryptage et décryptage basé sur le cadre minifilter

Leetcode 1249. Remove invalid brackets (awesome, finally made)

Share 7 immortal wallpaper websites, let the new wallpaper give you a little joy, and don't fall into the repetition year after year.

Spark history server performance improvement (I) -- Application List

Redis6 note02 configuration file, publish and subscribe, new data type, jedis operation

杭州/北京内推 | 阿里达摩院招聘视觉生成方向学术实习生(人才计划)

The service layer reports an error. The XXX method invalid bound statement (not found) cannot be found

Solution to the timeout scenario of Flink streaming computing (official live broadcast)

Customize to prevent repeated submission of annotations (using redis)

Niuke: rotation array
随机推荐
VFP serial port communication is difficult for 9527. Maomao just showed his skill and was defeated by kiss
ThingsPanel 發布物聯網手機客戶端(多圖)
如何实现移动端富文本编辑器功能
How PHP extracts image addresses from strings
Spannable and editable, spannablestring and spannablestring
Dynamic programming to solve stock problems (Part 1)
WebRTC Native M96 基础Base模块介绍之实用方法的封装(MD5、Base64、时间、随机数)
Source code analysis of AQS & reentrantlock
WebRTC Native M96 基础Base模块介绍之网络相关的封装
元素定位不到的 9 种情况
CMU提出NLP新范式—重构预训练,高考英语交出134高分
芯片的发展史和具体用途以及结构是什么样的
CFCA Anxin sign access
时创能源冲刺科创板:拟募资11亿 年营收7亿净利反降36%
PHP如何提取字符串中的图片地址
Whole process of web page request
Double tampon transparent cryptage et décryptage basé sur le cadre minifilter
Thingpanel publie le client mobile IOT (Multi - images)
SMS verification before deleting JSP
Spark history server and event log details