签到
苹果/安卓/wp
苹果/安卓/wp
客户端
0.0
0.00
推广加币
升级SVIP
SVIP(AI增强版)
注册
|
登录
经管百科
论坛BBS
搜索
搜索
用户
人大经济论坛
›
标签
›
images
标签: images
经管大学堂:名校名师名课
相关帖子
版块
作者
回复/查看
最后发表
乳腺肿块的检测与分类 多核方法
外文文献专区
大多数88
2022-3-17
0
691
大多数88
2022-3-17 09:15:00
基于实例的超分辨率优化物理预处理
外文文献专区
何人来此
2022-3-11
0
309
何人来此
2022-3-11 17:18:30
色带:基于邻域统计浏览的快速修复
外文文献专区
mingdashike22
2022-3-8
0
546
mingdashike22
2022-3-8 21:29:20
多时相遥感图像的非局部张量补全 修补
外文文献专区
mingdashike22
2022-3-8
0
546
mingdashike22
2022-3-8 13:54:25
【2013】HTML5 Foundations
量化投资
kychan
2015-5-28
28
3657
wininghe
2015-10-14 10:26:56
[网络公开课]Introduction to computer science and programming using Python
winbugs及其他软件专版
Nicolle
2014-8-2
2
2695
icyjunjin
2015-10-9 14:20:49
Using Visual Data in Qualitative Research (Qualitative Research Kit)
经济金融数学专区
16POP
2015-4-18
1
1220
hylpy1
2015-4-18 11:50:10
[Wiley.Focardi.&.Fabozzi].Mathematical.Methods.for.Finance
数据分析与数据科学
laneboss
2014-6-10
3
3383
ydbin
2014-11-23 10:07:40
Tikz绘图视频教程
LATEX论坛
oliyiyi
2014-11-21
0
4442
oliyiyi
2014-11-21 21:36:09
An exploratory study of the influence of country of origin on the product images
- [!reward_solved!]
求助成功区
lilpan
2014-9-12
1
1124
hello_xn
2014-9-13 19:04:04
These gorgeous images could show us what Apple’s iPhone 6 actually looks like
- [阅读权限
10
]
外语学习
reduce_fat
2014-7-16
7
351
Danbloom
2014-7-23 07:34:38
Sharpening Your SAS Skills - 全网独家奉献!!!
数据分析与数据科学
laneboss
2014-6-10
4
2358
ddd1000
2014-7-4 03:20:32
Jessica Lu: Bayesian Inference in Python
python论坛
Nicolle
2014-6-28
1
2145
西交共享
2014-6-28 03:10:13
writing now shaping words and images
外语学习
maxine2001
2014-2-18
1
1142
gssdzc
2014-2-19 22:28:32
Product-country images and preference
- [!reward_solved!]
求助成功区
kuailemyt
2013-10-26
1
1055
牛尾巴
2013-10-26 21:17:36
【下载】2012法国剧情《消失的浪潮》高清1280/BD-RMVB[6.3分][中文字幕]
休闲灌水
Dream?
2013-9-30
0
1544
Dream?
2013-9-30 10:26:09
新版PowerPivot 的新功能
数据管理、XBRL、BI、CI
kissky
2013-1-1
0
872
kissky
2013-1-1 15:23:13
wiley一篇
- [!reward_solved!]
求助成功区
yinhezhiwang
2012-10-21
1
739
wyq1987
2012-10-21 22:41:57
求同学们帮忙下个文章
-
[悬赏
20
个论坛币]
悬赏大厅
wode1607
2012-4-10
0
920
wode1607
2012-4-10 10:35:22
求书籍Presidential candidate images
-
[悬赏
100
个论坛币]
悬赏大厅
moorefen
2011-8-26
4
1003
moorefen
2011-9-2 00:23:50
更多...
相关日志
分享
Batch splitting images in 2 with arbitrary sizes
WangLuoxuan
2012-5-27 00:20
http://www.photoshopgurus.com/forum/photoshop-newbies/36251-help-batch-splitting-images-2-arbitrary-sizes.html #target photoshop app.bringToFront(); function main(){ var inputFolder= Folder.selectDialog ("Please select folder to process"); if(inputFolder == null) return; var fileList = inputFolder.getFiles("*.jpg"); var outFolder = Folder(inputFolder +"/Processed"); if(!outFolder.exists) outFolder.create(); for(var z in fileList){ open(fileList ); var doc = activeDocument; var Name = decodeURI(fileList .name.replace(/\. +$/, '')); var startRulerUnits = app.preferences.rulerUnits; app.preferences.rulerUnits = Units.PIXELS; var LB= = 0; LB = 0; LB = 512; LB = doc.height.value; doc.selection.select( ,LB ], ,LB ], ,LB ], , LB ]], SelectionType.REPLACE, 0, false); var savedState = doc.activeHistoryState; executeAction( charIDToTypeID( "Crop" ), undefined, DialogModes.NO ); saveFile= File(outFolder + "/" + Name + "-512.jpg"); SaveForWeb(saveFile,80); doc.activeHistoryState = savedState; doc.selection.invert(); executeAction( charIDToTypeID( "Crop" ), undefined, DialogModes.NO ); saveFile= File(outFolder + "/" + Name + "-rest.jpg"); SaveForWeb(saveFile,80); app.activeDocument.close(SaveOptions.DONOTSAVECHANGES); app.preferences.rulerUnits = startRulerUnits; } } main(); function SaveForWeb(saveFile,jpegQuality) { var sfwOptions = new ExportOptionsSaveForWeb(); sfwOptions.format = SaveDocumentType.JPEG; sfwOptions.includeProfile = false; sfwOptions.interlaced = 0; sfwOptions.optimized = true; sfwOptions.quality = jpegQuality; //0-100 activeDocument.exportDocument(saveFile, ExportType.SAVEFORWEB, sfwOptions); }
个人分类:
笔记工程
|
26 次阅读
|
0
个评论
更多...
京ICP备16021002号-2
京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明
GMT+8, 2025-12-25 19:18
积分 0, 距离下一级还需 积分