https://freefontsfamily.com/
https://fontsgeek.com/
https://www.download-free-fonts.com/[......]
https://freefontsfamily.com/
https://fontsgeek.com/
https://www.download-free-fonts.com/[......]
1 安装、启用
# 启动防火墙
systemctl start firewalld
# 加入开机自自动
systemctl enable firewalld
# 停止防火墙
systemctl stop firewalld
2 基本查看
# 查看状态 / 端口
firewall-cmd --state
firewall-cmd --list-all
3 禁用 / 放行
# 添加端口(记得reload)
firewall-cmd --zone=public --[......]
如果你不知道怎么获得一个cmyk的img,可以参考 《Java如何将RGB图片转化为CMYK图片》
PDPage page = new PDPage(REC_B5_BLEED);
page.setMediaBox(REC_B5_BLEED);
// img必须是cmyk的
PDImageXObject pdImage = LosslessFactory.createFromImage(document, img);
pdImage.setColorSpace(PDColorSpa[......]
首先声明:
这里讨论的是如何在内存中把rgb转为cmyk
// 假设file是png的,即rgb的
BufferedImage img = ImageIO.read(file);
ColorSpace cpace = new ICC_ColorSpace(
ICC_Profile.getInstance("/home/co[......]
1 机器准备
GCP,GPU至少选Tesla T4、操作系统Ubuntu 20.04,硬盘50GB
2 安装cuda驱动
参考GCP的官方文档:https://cloud.google.com/compute/docs/gpus/install-drivers-gpu
可以使用自动安装脚本(注意提前安装python 3)
下载
curl https://raw.githubusercontent.com/GoogleCloudPlatform/compute-gp[......]