怎样用Timage动态load出jpg、gif等图像文件?

HappyCola 2000-05-23 01:50:00
在程序运行期间,怎样用Timage通过LoadFromFile显示jpg和Gif图像文件?
本人正在做一个类似"ACD See"的图像浏览器,但目前只能通过上述方法显示BMP,
望高人赐教!
...全文
821 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
JGTM2000 2000-07-24
  • 打赏
  • 举报
回复
LeadTools,重量级的图形组件库!

LEADTOOLS Raster Imaging Pro 12.0

LEADTOOLS Raster Imaging Pro (Previously LEADTOOLS Imaging Pro) is an API,
C++ Class libs, ActiveX and VCL toolkit with 60+ raster file formats (JPEG,
GIF, TIFF...), 70+ Image Transforms and Filters, extensive display options,
fast low-level bitmap access, TWAIN scanning, capture, printing,
screen-capture, imaging common dialogs, thumbnail browser, image list,
internet and database imaging functions and much more.

LEADTOOLS Raster Imaging Pro contains the basic Imaging features found in
LEADTOOLS Raster, Multimedia, Document, and Medical toolkits including file
format import/export, image display and effects, color conversion, image
processing, TWAIN scanning, imaging common dialogs, database integration,
printing and Internet.

Cut through hours of coding with support for Color Conversion, Display,
Compression (industry standards like JPEG, LZW**, CCITT G4 and LEAD's own
proprietary CMP). Developers get support for all of the technologies found
in the LEADTOOLS Raster Imaging Engine, including Image Processing
(Transforms, Filters, Drawing, Region of Interest), TWAIN Scanning, Color
Conversion, Display, Special Effects, (choose from more than 2000 effects),
Compression, Image Format (import/export), Printing, Internet/intranet
imaging, Database imaging, Imaging Common Dialogs, and Screen Capture.
LEADTOOLS also provides a Thumbnail browser and Image List that lets you
browse directories for LEAD supported files and generate thumbnails for
each supported file.

LEADTOOLS Raster Imaging Pro comes with sample source code for Visual Basic,
C/C++, Visual C++ (MFC), C++ Builder, Visual J++, Visual FoxPro, Access,
Delphi, and VB and Java script. And support for Visual Studio 6.0 database
connectivity (Oracle, SQL, OLE DB, ODBC, and JET)

LEADTOOLS Raster Imaging Engine forms the basis for most of the imaging
technology found in LEAD Toolkits, encompassing file import/export, image
acquisition, image transformation and processing, display, printing, database
connectivity, and more.

LEAD's basic Raster Imaging functionality includes:

* File Format support - Read and write image files in over 60 of the most
popular standard image formats, including JPEG, GIF, TIFF (including G3/G4,
LZW, CMYK, JTIF, many more), PNG, BMP, MODCA/IOCA, PCX, TGA, and many more!

* Image Processing - Use more than 70 digital filters and transforms to
process images (or selected portions). Smooth, sharpen, edge detect/enhance,
modify brightness/contrast/gamma, change hue and saturation, add noise,
resize and rotate images using various resampling techniques (including
bicubic), and much more

* Color Conversion - Convert between color modes, like 24-bit true-color,
8-bit indexed, 1-bit black/white, and many more. Changing the color mode
changes the amount of data stored per pixel, which alters an image's
memory/disk requirements

* Compression - Compress images using a wide vaiety of compression algorithms,
including JPEG, CMP, LZW, G3/G4, Huffman, run-length, and many more . LEAD
offers comprehensive support for compression schemes found in standard
raster file formats, as well as high-performance proprietary compression
technologies that outperform the industry standards

* Image Display/Effects - Render images or selected regions to display device
while controlling position/scaling, resample method (normal/bilinear/bicubic),
brightness/contrast/gamma, color-reduction/dithering, image(source) and
device(destination) clipping, and more. Navigate large images using a small
pan-window, browse a group of images using a thumbnail viewer, apply 2000+
paint transitions and effects between viewed images

* Scanning via TWAIN - Control Image Acquisition from any device (scanner,
digital camera, etc) which uses TWAIN. Use device's built in user-interface
or create your own

* Printing - Print images or selected regions while controlling position/scaling,
halftoning/dithering. Print multiple images and text to a single or multiple
pages

* Database Imaging - Store images (any supported file-format/compression-
technique) to a variety of databases, including SQL, Oracle or any database
which supports ODBC, OLE DB, or bound VB data control connections

* Common Dialogs - Utilize common dialogs for many common imaging tasks, such
as file loading and saving with thumbnail preview, color conversion, input
of filter parameters, and many more
zhouzq 2000-07-24
  • 打赏
  • 举报
回复
关注
HappyCola 2000-05-24
  • 打赏
  • 举报
回复
"imagelib"---哪里可以下载?
jiangtao 2000-05-24
  • 打赏
  • 举报
回复
Use ImageLib,it's the best Delphi Image VCL
support more than 50 type image format
mxp 2000-05-23
  • 打赏
  • 举报
回复
您是用控件作的吗?
如果是,该控件能用在cbc5.0上吗?
我有一个用Vcl调图形的问题,目前没有人回答!

如果您能用cbc5.0源码调出动画Gif (Delphi能做的话,应该肯定可以)请通知我。我开一个新贴子80分的行不?
谢谢!
eaglet 2000-05-23
  • 打赏
  • 举报
回复
对于JPG可用TJPEGImage对象的LoadFromFile方法LOAD一个JPG文件
再把该对象赋给TImage.Picture.Graphic
Gif文件我不知道,还望告知
dongcan 2000-05-23
  • 打赏
  • 举报
回复
对了,我的Email:wangzhiyue@yeah.net
如果联系不上,就在这留言给我,我发给你!!
dongcan 2000-05-23
  • 打赏
  • 举报
回复
我作过这样的程序,很简单的,我可以告述你原代码,如果你需要,就Email给我,我给你
源码,但是,你不能失信,记着加分给我噢!!!
Asus 2000-05-23
  • 打赏
  • 举报
回复
Delphi里有一个示例可以看一下
Again 2000-05-23
  • 打赏
  • 举报
回复
直接Load Jpg可以,在Uese 中加入Jpeg单元即可,要支持Gif得另外找控件
Lin 2000-05-23
  • 打赏
  • 举报
回复
Jpg文件Delphi就可以搞定(需要引用jpeg单元),GIF文件可以用TGIFImage控件,可以到http://www.delphi-jedi.org/Jedi去Down一个,目前是2.2版,支持D3、D4、D5,BC++,还有Source哦。

5,379

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧