QuickImageFX

QuickImageFX
使用 GDI、Graphics32、OpenCV 或 Vampyre 成像库简化图像处理

https://github.com/exilon/QuickImageFX 

QuickImageFX 
Delphi 库,用于简化图像加载/保存、转换和转换。可以加载/保存 png、jpg、gif 和 bmp。可以从不同的资源获取图像:文件、流、http、图像列表、关联窗口图标、可执行文件图标等……旋转、翻转、灰度等多种变换。

*新:基于接口

*新:添加了 Vampyre 库引擎

*新:添加了新功能

*新:重构类

*新:Delphinus 支持

您可以选择 ImageFX 支持的一个或多个可用引擎。在您的使用条款中添加一个或多个以下单位:

Quick.ImageFX.GDI:使用 GDI+ 引擎。不需要外部库,但速度很慢。

需要的库:

Exilon 的 QuickLibs (https://github.com/exilon/QuickLibs) 
Quick.ImageFX.GR32:使用 Graphics32 引擎来旋转、变换、调整大小等

需要的库:

Exilon 的 QuickLibs (https://github.com) /exilon/QuickLibs) 
Graphics32 (https://github.com/graphics32/graphics32) 
CCR-Exif 来自 Chris Rolliston (https://code.google.com/archive/p/ccr-exif) 
Quick.ImageFX.OpenCV: OpenCV 引擎。为英特尔开放视觉库使用第三方 delphi 变形器。它非常快速和强大。在您的项目目录中需要 OpenCV 外部 dll。

需要的库:

来自 Exilon 的 QuickLibs (https://github.com/exilon/QuickLibs)
来自 Laex 的 Delphi-OpenCV (https://github.com/Laex/Delphi-OpenCV)。
CCR-Exif 来自 Chris Rolliston (https://code.google.com/archive/p/ccr-exif) 
Quick.ImageFX.Vampyre:Vampyre 成像库引擎。为 Vampyre Imaging 本机库使用第三方 delphi 变形器。速度快,支持多种图像格式。

需要的库:

来自 Exilon 的 QuickLibs (https://github.com/exilon/QuickLibs)
来自 Marek Mauder 的 Vampyre-Imaging (https://github.com/galfar/imaginglib.git)
来自 Chris Rolliston 的 CCR-Exif (https:// /code.google.com/archive/p/ccr-exif)
创建:创建 ImageFX 实例以加载/操作图像。

var 
  ImageFX : IImageFX; 
开始
  ImageFX := TImageFXGDI //您可以创建为TImageFXGDI、TImageFXGR32、TImageFXOpenCV或TImageFXVampyre以使用不同的图形引擎
  ImageFX.LoadFromFile('.\test.jpg'); 
  ImageFX.Rotate90; 
  ImageFX.SaveAsPNG('.\Test.png'); 
结尾; 

posted @ 2021-08-11 07:15  delphi中间件  阅读(178)  评论(0编辑  收藏  举报