惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Cisco Talos Blog
Cisco Talos Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google Online Security Blog
Google Online Security Blog
博客园 - Franky
Hugging Face - Blog
Hugging Face - Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
博客园 - 司徒正美
N
News and Events Feed by Topic
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
WordPress大学
WordPress大学
博客园 - 三生石上(FineUI控件)
Help Net Security
Help Net Security
N
News and Events Feed by Topic
O
OpenAI News
L
LangChain Blog
F
Full Disclosure
A
About on SuperTechFans
The GitHub Blog
The GitHub Blog
GbyAI
GbyAI
Cloudbric
Cloudbric
W
WeLiveSecurity
Application and Cybersecurity Blog
Application and Cybersecurity Blog
罗磊的独立博客
Attack and Defense Labs
Attack and Defense Labs
PCI Perspectives
PCI Perspectives
TaoSecurity Blog
TaoSecurity Blog
AI
AI
有赞技术团队
有赞技术团队
酷 壳 – CoolShell
酷 壳 – CoolShell
C
CXSECURITY Database RSS Feed - CXSecurity.com
C
Cisco Blogs
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Apple Machine Learning Research
Apple Machine Learning Research
C
CERT Recently Published Vulnerability Notes
T
The Exploit Database - CXSecurity.com
T
Threatpost
P
Palo Alto Networks Blog
G
GRAHAM CLULEY
Last Week in AI
Last Week in AI
雷峰网
雷峰网
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
C
Cyber Attacks, Cyber Crime and Cyber Security
博客园 - 聂微东
P
Proofpoint News Feed
Latest news
Latest news
S
SegmentFault 最新的问题
J
Java Code Geeks
T
Threat Research - Cisco Blogs
H
Help Net Security
P
Privacy International News Feed

博客园 - pyman

win系统安装冲突(固态、机械硬盘双系统不并存) win10中用cmd命令行添加网络共享打印机并设为默认打印机 希沃一体机---信号源乱切换( 或者 警告:模块不匹配) 让“照片查看器"显示,并且能打开多种格式 联想云平台与机房使用 博文阅读密码验证 - 博客园 iPad恢复遇到问题 非常有意思的cmd命令行倒计时 网页突破复制粘贴Absolute Enable Right Click & Copy插件 影子系统保护Windows 网络最常用的几个命令(arp ,net view,tracert,netstat) 使用VLOOKUP函数应用&修改Excel默认的等线字体 win2019不能查看图片的解决方法(已验证) win10自动升级后不能访问内网 客户端桌面显示信息-----工具Bginfo H510以上芯片主板安装Windows系统 命令行实现自动清除浏览器的浏览记录(vbs) fckeditor的显示(chrome浏览器不正常显示fckeditor编辑器) win2019文件共享访问设置后不能保存
在office文档中,如何批处理调整图片的亮度对比度?录制宏,编辑宏,运行
pyman · 2022-09-06 · via 博客园 - pyman

在office文档中,如何批处理调整图片的亮度对比度?   方法:录制宏,编辑宏,运行

Sub 宏1()

For i = 1 To ActiveDocument.InlineShapes.Count

ActiveDocument.InlineShapes(i).PictureFormat.Brightness = 0.55 '将嵌入型图片的亮度设置为增加10%,50对应为0,55则为原来的110%
ActiveDocument.InlineShapes(i).PictureFormat.Contrast = 0.45   ‘将嵌入型图片的对比度设置为减少10%,50对应为0,45则为原来的90%

1 '将嵌入型图片的对比度设置为100

Next i
For i = 1 To ActiveDocument.Shapes.Count
If ActiveDocument.Shapes(i).Type = msoPicture Then '判断浮动型图片
ActiveDocument.Shapes(i).PictureFormat.Brightness = 0.5 '将浮动型图片的亮度设置为50,就是没有增加减少
ActiveDocument.Shapes(i).PictureFormat.Contrast = 1# '将浮动型图片的对比度设置为100,就是增加到原来的200%


End If
Next i
MsgBox "处理完毕!"

End Sub