当前位置: 首页 > news >正文

网站图片展示方式有哪些网站建设营业执照如何写

网站图片展示方式有哪些,网站建设营业执照如何写,微信平台与微网站开发,凡科互联网ImageMagick 官网 https://imagemagick.org/, 支持多种格式。命令行工具很适合调试。功能很强大. 还有一款工具GraphicsMagick 是从ImageMagick的基础上研发出来的。 OpenCV 官网 https://opencv.org/ , github地址https://github.com/opencv/opencv&…

ImageMagick

官网 https://imagemagick.org/, 支持多种格式。命令行工具很适合调试。功能很强大. 还有一款工具GraphicsMagick 是从ImageMagick的基础上研发出来的。

OpenCV

官网 https://opencv.org/ , github地址https://github.com/opencv/opencv,非常活跃的一个开源工具,原来免费的教程,现在已经开始包装成视频,进行收费了,我买了教程,看了下,和以前官网看过的文字版教程没多大差别。github关注已经达到了72.3k。

ImageJ

官网 https://imagej.net/ij/

ImageJ is open source software for processing and analyzing scientific images.

基于ImageJ已经又研发了ImageJ2(目前github关注量1k)和Fiji的产品。


// Open the TIFF image
ImagePlus imagePlus = new ImagePlus(f);// Get the image processor
ImageProcessor imageProcessor = imagePlus.getProcessor();// Add text to the image
int x = 0; // X-coordinate of text
int y = 0; // Y-coordinate of textString   textToAdd = "These three lines of\ntext will be overlayed on\nthe current image";Font font = new Font("SansSerif", Font.PLAIN, 56);
imageProcessor.setFont(font);
imageProcessor.setColor(Color.RED);
imageProcessor.drawString(textToAdd, x, y); // Draw the text// Display the modified image (optional)
//        imagePlus.show();// Save the modified image
ImagePlus outputImage = new ImagePlus("Modified Image", imageProcessor);
IJ.saveAs(outputImage,"jpeg", f31);
IJ.saveAsTiff(outputImage, f41);
final ImagePlus imagePlus1 = IJ.openImage(f41);
IJ.save(imagePlus1, fpng);

commons-imaging

Apache维护的产品,目前github关注量381

final File file = new File(f);
final BufferedImage overlay = Imaging.getBufferedImage(file);
// Add text to the image
int x = 0; // X-coordinate of text
int y = 0; // Y-coordinate of textFont font = new Font("SansSerif", Font.PLAIN, 56);
String   textToAdd = "These three lines of\ntext will be overlayed on\nthe current image";
addTextToImage(overlay, textToAdd, x, y, Color.RED, font);ImageIO.write(overlay, "JPEG", new File(fa1));
//        ImageIO.write(overlay, "TIFF", new File(fa2));
saveImageWithText(overlay, fa2);
Imaging.writeImage(overlay, Files.newOutputStream(Paths.get(fa4png)), ImageFormats.PNG);
// Method to add text to the imageprivate static void addTextToImage(BufferedImage image, String text, int x, int y, Color color, Font font) {Graphics2D g2d = image.createGraphics();g2d.setColor(color);g2d.setFont(font);
//        g2d.drawString(text, x, y);drawString(g2d, text, x, y);g2d.dispose();}private static void drawString(Graphics g, String text, int x, int y) {for (String line : text.split("\n"))g.drawString(line, x, y += g.getFontMetrics().getHeight());}//    // Method to save the modified image with text using Common Imagingprivate static void saveImageWithText(BufferedImage image, String outputPath) throws IOException, ImageWriteException {// Create a new instance of ImageWriteParam for TIFF formatfinal TiffImagingParameters params = new TiffImagingParameters();params.setCompression(TiffConstants.TIFF_COMPRESSION_UNCOMPRESSED);// Write the BufferedImage with text to a TIFF file
//        Imaging.writeImage(image, new File(outputPath), ImageFormat.IMAGE_FORMAT_TIFF, params);new TiffImageParser().writeImage(image, Files.newOutputStream(Paths.get(outputPath)), params);}

TwelveMonkeys

目前github关注量1.7k

JDeli 是一个付费软件

如下是测试结果

photoshop可以看到通道增加了专色通道。
在这里插入图片描述

ImageMagickopencvimagejcommons-imagingTwelveMonkeysJDeli(付费软件)
带有2个专色通道的tiff图片不支持不支持支持支持不支持支持
将文字写入到图片中//支持支持
文字写入保存为jpg格式//写入红色的字体变成了黑红写入红色的字体变成了黑红
文字写入保存为tiff格式//写入红色的字体正常写入红色的字体正常写入红色的字体正常
支持Tiff格式alpha通道//不支持不支持不支持不支持
http://www.yayakq.cn/news/672883/

相关文章:

  • 手表网站查询国外酷网站
  • 聊城网站制作公司国际军事新闻最近新闻
  • 网站源码酒类弹出网站代码
  • 主网站怎么做熊掌号优化官方网站建设ppt
  • 哪些网站可以做ppt赚钱wordpress图片输出
  • 官方网站建设建议做网站话术
  • 网站公司是做什么的wordpress直播主题
  • 信誉好的永州网站建设东莞感染人数最新消息
  • 2021年php凉透了河北seo推广
  • 潍坊建网站的电子商务怎样建立网站的
  • 李氏牛仔网站建设风格贵阳建站
  • 阿里云clouder网站建设圣都家装公司简介
  • 做网站还用注册商标吗重庆网站推广步骤
  • 门户网站建站系统怎么做seo网站关键词优化
  • xampp可以做网站吗百度网页版进入
  • 克旗网站制作5229998郑州市新闻最新消息
  • 怎么制作网页教程宁波网站优化方案
  • 网站托管要求承德网站制作
  • 建立一个公司网站 宣传企业文化优弊端网络服务协议需要交印花税吗
  • cms开源网站管理系统深圳做夜场做网站
  • 自助建站系统软件网络设置了代理是什么意思
  • 用按键精灵做网站wordpress搭建服务器
  • 云商网站建设重庆网站建设推广优化
  • 南平高速建设有限公司网站做网站时候图片和视频放在哪里
  • 东莞市凤岗建设局网站软件开发模型有几种
  • 天津网站排名wordpress自带有用参数
  • 移动网站开发环境 主流上海公布最新情况
  • 成品网站源码1688版本号做一个棋牌网站要多少钱
  • 建设银行商城网站软件设计的过程
  • 甘肃企业网站备案网页工具