小工具整理

This commit is contained in:
Abin
2025-07-31 16:05:55 +08:00
commit 1011eb44e1
566 changed files with 267142 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
ImageFileName = "C:\Users\ab\Desktop\2.jpg"
SaveFormat = (DotNetClass "System.Drawing.Imaging.ImageFormat").jpeg --ÓÐpng bmp gif icon tiff jpeg µÈµÈ³£Óøñʽ
start_posX=-1157
start_posY=288
picwidth=800
picheight=400
leftright_offset=0
updown_offset=0
ScreenBitmap = dotnetobject "System.Drawing.Bitmap" picwidth picheight (dotnetclass "System.Drawing.Imaging.PixelFormat").Format32bppPArgb
Graphics = (dotnetclass "System.Drawing.Graphics").FromImage ScreenBitmap
Graphics.CopyFromScreen start_posX start_posY leftright_offset updown_offset ScreenBitmap.Size (dotnetclass "System.Drawing.CopyPixelOperation").SourceCopy
ScreenBitmap.Save ImageFileName SaveFormat