E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
TBitMap
Delphi基本图像处理代码
Delphi基本图像处理代码//浮雕procedureEmboss(SrcBmp,DestBmp:
TBitmap
;AzimuthChange:integer);overload;vari,j,Gray,
comeoffbest
·
2024-09-10 09:16
Java
UniGUI学习之UniImage
UniImage图片填上文字procedureTMainForm.UniButton2Click(Sender:TObject);Varbmp:
tBitmap
;ui:TUniImage;Beginui:
蝈蝈(GuoGuo)
·
2023-12-17 21:12
UniGui
学习
delphi中使用CADVCL 10.0 Enterprise控件解析DXF文件生成图片保存到本地
案例修改OnClick方法更换代码varvDrawing:TsgCADDXFImage;I:Integer;vEnt:TsgDXFEntity;vDXFImage:TsgCADImage;Bitmap:
TBitmap
幸思无声_东莞
·
2023-11-03 23:27
Delphi
数据分析
Delphi 11.3之FireMonkey入门(8)-TImage
TImage主要成员:{属性}BitmTImage主要成员:{属性}Bitmap:
TBitmap
;//图像BitmapMargins:TBounds;//边缘空白WrapMode:TImageWrapMode
tjsoft
·
2023-09-21 14:41
delphi
fmx
image
11.3
源代码
Delphi 后端随机生成前端验证码图片程序源代码,开箱即用
其实如果是VCL,就是调用
TBitMap
对象来实现,
TBitMap
有详细的Canvas操作函数,具体的操作参见Delphi的帮助文档。
sensor_WU
·
2023-04-11 14:48
Delphi
前端
图形验证码
delphi生成图片
TBitMap
SIMD指令集(自动矢量化)
includeusingnamespacestd;intmain(intargc,char*argv[]){structtimespectime_start={0,0},time_end={0,0};uint8_
tbitmap
GOGOYAO
·
2022-02-10 04:43
Delphi Image使用ImageList中的图片
varbmp:
Tbitmap
;beginbmp:=
Tbitmap
.Create;tryifRltthenbeginimagelist1.GetBitmap(1,bmp);img1.Picture.Assign
liang08114
·
2020-09-17 12:34
delphi
16位图像Alpha混合的实现
下面是16位565格式的混合算法的实现,首先用最简单的方式实现,即逐个像素的处理://一次处理一个像素,比较简单,但速度较慢procedureAlphaBlend656(BmpDst,BmpSrc:
TBitmap
linzhengqun
·
2020-09-16 20:16
Delphi
DELPHI SPEEDBUTTON按钮动态加载图片(从IMAGE和IMAGELIST)
一、直接上代码procedureTForm2.Button2Click(Sender:TObject);varbmp:
Tbitmap
;Stream:TMemoryStream;beginbmp:=
Tbitmap
.Create
以后换名字
·
2020-09-14 01:45
delphi
windows
加载图片时报错,请大虾帮忙看看!
Delphi/WindowsSDK/APIhttp://www.delphi2007.net/DelphiMultimedia/html/delphi_20061103170415180.htmlfbmp:
TBitMap
weixin_34238633
·
2020-09-12 09:09
Delphi资源文件
res文件2、引入res文件implementation{$R*.dfm}{$RTank.res}procedureTForm1.Button1Click(Sender:TObject);varbmp:
TBitmap
tank77
·
2020-09-11 22:18
Delphi实现屏幕截图、窗口截图、指定区域截图
UseJpegprocedureTForm1.snapscreen(a,b,c,d:Integer);varbmpscreen:
Tbitmap
;jpegscreen:Tjpegimage;FullscreenCanvas
dkopg24406
·
2020-08-25 07:01
delphi:斑马打印机ZPL指令打印中文及二维码
图像清晰使用GetTextExtentPoint32函数获取中文字符的长和高后设置为BMP的width和height这样图片大小就和文字大小完全样了functionPrintBMP(constbmp:
Tbitmap
xionw
·
2020-08-21 07:00
条形码
delphi 结构体的使用、
Tbitmap
和TMemoryStream的转换
一、定义结构体typeTfrequency_band_list=classfrequency_band_name:string;frequency_band_pic_color:string;frequency_band_pic_Stream:TMemoryStream;end;二、结构体的使用//全局变量varfrequency_band_list:arrayofTfrequency_band_
以后换名字
·
2020-08-18 18:23
delphi
windows
DELPHI
个人小心得
BMP2JPG,JPG2BMP
BMP2JPG,JPG2BMP代码//usesjpegprocedureBMP2JPG(constBMPFile:string);varBMP:
TBitmap
;JPG:TJpegImage;FileName
dechun15963
·
2020-08-18 14:08
文本转换成位图
proceduretxttojpeg(txt,filename:string;brush_color:tcolor;font:tfont;font_color:tcolor;width,height:integer);vartemp:
tbitmap
yjswjm119
·
2020-08-15 01:16
Delphi
integer
string
c
delphi中Bitmap位图与base64字符串相互转换
usesEncdDecd;///将Bitmap位图转化为base64字符串functionBitmapToString(img:
TBitmap
):string;varms:TMemoryStream;ss
weixin_34148456
·
2020-08-15 00:32
图片旋转
procedureTForm16.bmp_rotate(src,dst:
TBitmap
;angle:extended);varc1x,c1y,c2x,c2y:integer;p1x,p1y,p2x,p2y
weixin_30635053
·
2020-08-15 00:21
Delphi 图形设计(3)
常用的图形图像组件有Shape、PaintBox和Image组件,相关的图像类有TGraphic、TPicture和
TBitmap
。
落幕年代
·
2020-08-14 23:16
Delphi
Game
图形处理/多媒体
delphi之:如何将Bitmap位图与base64字符串相互转换
///将Bitmap位图转化为base64字符串functionBitmapToString(img:
TBitmap
):string;varms:TMemoryStream;ss:TStringStream
josencom
·
2020-08-14 23:06
delphi
DELPHI 图片任意角旋转。 我看着书上的C++代码改的,加了点自己的理解。huruihappy
/==============================================================================//图片旋转//输入参数//srcImg:
TBitmap
huruihappy
·
2020-08-14 23:06
delphi 图像旋转
网络搜集的觉得有用的拿去吧速度不错呢//旋转90°procedureRotate(Bitmap:
TBitmap
);typeTHelpRGB=packedrecordrgb:TRGBTriple;dummy
data01002
·
2020-08-14 23:16
delphi绘图canvas及应用
一、CANVAS必备基本知识1.具有CANVAS属性的控件
TBitmap
,TComboBox,TDBComboBox,TDBGrid,TDBListBox,TDirectoryListBox,TDraw
hyz_cs
·
2020-08-14 22:55
delphi GDI 图片压缩代码 据说是位图缩放保持原图视觉效果最好的算法
usesWinAPI.GDIPAPI,WinAPI.GDIPOBJ;varBitmap1:TGPBitmap;Bitmap2:
TBitmap
;Graphic:TGPGraphics;beginBitmap1
weixin_30826761
·
2020-08-14 03:32
TGPBitmap转为
TBitmap
TGBBitmap用在GDI+中,而
TBitmap
用在GDI中,有的时候,我们需要将它们进行转换,例如我们要将一个JPEG的图片的缩略图放到
TBitmap
中,这样它就可以很方便的被Windows中的多个控件所使用
fyl_077
·
2020-08-11 21:04
delphi中Canvas(画布)的运用
一、CANVAS必备基本知识:1.具有CANVAS属性的控件:
TBitmap
,TComboBox,TDBComboBox,TDBGrid,TDB
wangpeng2011314
·
2020-08-10 02:30
代码
DELPHI
delphi
button
image
integer
timer
编程
ScreenCap
,RightPos,BottomPos:Integer);varRectWidth,RectHeight:Integer;SourceDC,DestDC,Bhandle:Integer;Bitmap:
TBitmap
qq_43466604
·
2020-08-10 00:24
delphi
两张BMP图片叠加
procedureBlendImage(BackBmp,ForeBmp:
TBitmap
;TransColor:TColor;Alpha:Integer);typeTRGBArray=array[0..32767
qq_43466604
·
2020-08-10 00:24
delphi
Delphi内的图片缩放的实现
procedureResizeBmp(Src,Dst:String);varSrcBM,DstBM:
TBitMap
;Rect:TRect;NewW,NewH,PicW,PicH:Integer;HDivW
belllab
·
2020-07-31 16:15
C++Builder 截取图片
就查询帮助,写了一下:void__fastcallTForm1::Button2Click(TObject*Sender){inti_Width=600;inti_Height=600;Graphics::
TBitmap
周药师
·
2020-07-30 06:20
Delphi二值图片去杂点问题
procedureClearNoise(Bitmap:
TBitmap
;N:Integer);varpiexl:tcolor;nearDots,x,y,RGBz:integer;begi
weixin_34397291
·
2020-07-12 10:40
loadImage用法
加载Bitmap文件,可以用
TBitmap
:Graphics::
TBitmap
*Bmp=newGraphics::
TBitmap
;Bmp->LoadFromFile("d:\\a1.bmp");Bmp-
weixin_30514745
·
2020-07-12 06:52
delphi从imagelist中获取透明背景图片的方法
Bitmap:=
TBitmap
.Create();Bitmap.TransparentMode:=tmFixed;//必须在getBitmap前设置Bitmap.Transparent:=True;if
jarraytan
·
2020-07-11 03:08
Delphi小酌
Delphi中canvas(画布)
一、CANVAS必备基本知识:1.具有CANVAS属性的控件:
TBitmap
,TComboBox,TDBComboBox,TDBGrid,TDB
weixin_33936401
·
2020-07-08 16:48
delphi绘图canvas及应用(转)
一、CANVAS必备基本知识1.具有CANVAS属性的控件
TBitmap
,TComboBox,TDBComboBox,TDBGr
ericalbert
·
2020-07-07 07:12
Delphi 调用Zint 实现二维码功能
procedureTForm1.Button1Click(Sender:TObject);var//dll指针地址mydll:PZSymbol;//画布g:
TBitmap
;//用来接收的字符串astr:
爱蹄子的羊头
·
2020-07-05 19:16
鼠标的获取和信息的识别
procedureTForm1.btnClick(Sender:TObject);varbmp:
TBitmap
;hCur:TCursorInfo;begin//ffffff-e2e2e2cur:=TIcon.Create
weixin_34122604
·
2020-06-28 11:59
delphi 后台截图
bool;stdcall;external'user32.dll'name'PrintWindow';procedureTForm1.btn1Click(Sender:TObject);varbmp:
TBitmap
weixin_33801856
·
2020-06-28 05:08
图像的浮雕处理效果
实例:varForm19:TForm19;Map1:
TBitmap
;implementation{$R*.dfm}procedureTFor
weixin_30799995
·
2020-06-28 00:38
网摘-按键精灵屏幕找色原理分析
很多新手在设计这类的程序时喜欢使用
TBitmap
.Canvas.Pixels属性,这个属性其实是对API函数GetPixel的封装,这个函数执行速度是很慢的,主要用来对位图象素进行偶尔的访问。
weixin_30580341
·
2020-06-27 21:44
[lazarus] 分享一个BMP图像平滑缩放的代码
先贴出lazarus官方的source:procedureStretchDrawBitmapToBitmap(SourceBitmap,DestBitmap:
TBitmap
;DestWidth,DestHeight
OK_boom
·
2020-06-26 06:06
pascal
TBitMap
位图组件
位图组件(
TBitMap
)
TBitMap
组件不存在组件板,它封装了Windows的HBITMAP句柄和HPALETTE句柄,用于操纵位图和调色板。
TBitMap
对象支持从文件、剪贴板、流中存取位图。
gongjie824
·
2020-06-23 11:15
浮雕效果
procedureEffect_Emboss(Picture:
TBitmap
);varBB1,BB2:
TBitmap
;beginBB1:=
TBitmap
.Create;BB1.PixelFormat:=
djcsch2001
·
2020-06-23 04:17
Delphi
Delphi图像Hash算法,关于图像相似度问题
图像Hash算法,有PHash,DHash,AHash,以下记录平均值哈希AHash的Delphi算法代码varbmp:
TBitmap
=nil;//gb:
TBitmap
;//算法原理:将图像缩放成8x8
cmd9x
·
2020-06-22 23:31
Delphi
算法
图像处理
delphi之找色和色块
functionIsColor(bmp:
TBitmap
;x,y:integer;c:TColor):boolean;varrow:pRGBTripArray;p:TRGBTriple;beginrow:
weixin_34220834
·
2020-06-21 11:32
用delphi比较两张图片的相似度
procedureTFrm_test.initList;varidx,i,k,x,y,l:integer;p,fn:string;bmp:
TBitmap
;BColor,NowColor:TColor;beginp
weixin_34218579
·
2020-06-21 11:28
delphi之精确找图
functionBmpCmp(bmpBig,bmp:
TBitmap
;x,y:integer):boolean;vari,j:integer;row1,row2:pRGBTripA
weixin_33989780
·
2020-06-21 11:23
TPicture - C++ Builder
C++Builder参考手册➙Vcl::Graphics➙TPictureTPicture可以包含一个从TGraphic继承过来的图片,例如
TBitmap
、TGIFImage、TIcon、TJPEGImage
玄坴
·
2020-05-24 09:34
delphi实现将BMP格式图形转化为JPG格式图形的方法
具体实现方法如下:复制代码代码如下:procedureConvertBMPtoJPG(SFileName,DFileName:string);VarJ:TJpegImage;I:
TBitmap
;S,D:
·
2019-09-22 15:29
Delphi控件开发(四)双击头像切换
bit:=
TBitmap
.Create;bit.LoadFromFile('d:\vcl\aa.bmp');StretchBlt(Canvas.Handle,0,0,100,100,bit.Canvas.Handle
风语007
·
2016-11-18 22:49
上一页
1
2
3
4
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他