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

一个网站怎么做软件下载防城港市网站建设

一个网站怎么做软件下载,防城港市网站建设,常德红网官网网站,windows10优化软件ImageMagick 官网 https://imagemagick.org/#xff0c; 支持多种格式。命令行工具很适合调试。功能很强大. 还有一款工具GraphicsMagick 是从ImageMagick的基础上研发出来的。 OpenCV 官网 https://opencv.org/ #xff0c; github地址https://github.com/opencv/opencv 支持多种格式。命令行工具很适合调试。功能很强大. 还有一款工具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.w-s-a.com/news/791691/

相关文章:

  • 网站建设子栏目怎么弄海口专门做网站
  • 网站建设 温州建设网上银行个人网上银行登
  • 黄页网站推广方案wordpress 压缩插件
  • 网站建设常州网站简介 title
  • 惠州市网站建设个人深圳网站优化价格
  • 营销型网站工程专业网站开发公司
  • 两个路由器做双网站西安关键词优化服务
  • 企业建站系统信息远象建设 网站
  • 移动建站平台物业管理系统app
  • 济南网站建设多少钱郑州公司做网站
  • 在阿里云网站建设wordpress模板如何修改字体
  • 网站推广方案设计购物网站模块例子
  • 潍坊网站定制公司网站图片放大特效怎么做的
  • 淘宝店铺买卖湘潭seo优化价格
  • 最好的网站建设用途合肥企业网站建设
  • 计算机编程与网站建设好玩的网页传奇
  • 商务网站建设找哪家本地推广找哪些网站
  • 手机h5网站企业网站管理系统的运维服务
  • 南京建设网站公司网站游戏怎么制作
  • 成都建站程序苏州市建设局招标网站首页
  • 自助建网站市场公司起名大全2020最新版的
  • dede网站模板北京 网站开发 大兴
  • 网站优化师招聘建设牌安全带官方网站
  • 南京网站建设网站做视频网站用什么格式
  • 普陀做网站价格wordpress接入qq互联
  • 网站2级页面怎么做杭州哪家做外贸网站
  • 做了静态网站怎么显示在互联网上营销策划与运营方案
  • 常见的英文网站国内军事新闻大事件
  • 傻瓜式做网站程序微信怎么开公众号
  • c2c电商网站wordpress仿36kr主题