![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-29 08:05 |
47,816 topics / 349,916 posts / today 0 new / 48,265 members |
| DOS批处理 & 脚本技术(批处理室) » [Original] VBS is powerful - Picture Size Conversion (8 sentences to get it done!) |
| Printable Version 3,305 / 9 |
| Floor1 electronixtar | Posted 2006-10-24 23:18 |
| 铂金会员 Posts 2,672 Credits 7,493 | |
|
ResizeImg.vbs
Test system: Windows XP SP2 WSH 5.6, can run successfully on any operating system that has Windows Image Acquisition installed. Windows ME and XP have WIA installed by default. Among them, Water lilies.jpg is the "Sample Picture" included with XP. Please make sure to copy Water lilies.jpg to the folder where the script is located when running the vbs script. Next program exciting tips: Convert image format with vbs, webcam screenshots, character recognition, speech recognition... Those who are interested can join our QQ discussion group: 21154458. Note: This group only welcomes friends who are sincerely discussing and learning vbs, not for answering batch processing/vbs questions. [ Last edited by electronixtar on 2006-10-24 at 11:23 PM ] |
|
| Floor2 lxmxn | Posted 2006-10-25 00:42 |
| 版主 Posts 4,938 Credits 11,386 | |
|
Strong~~ Learned———— |
|
| Floor3 vkill | Posted 2006-10-25 00:48 |
| 金牌会员 Posts 1,744 Credits 4,103 From 甘肃.临泽 | |
| Floor4 utem999 | Posted 2006-10-25 01:44 |
| 初级用户 Posts 54 Credits 135 | |
|
It's a pity that I still don't know how to use it yet
55555555 |
|
| Floor5 redtek | Posted 2006-10-25 01:45 |
| 金牌会员 Posts 1,147 Credits 2,902 | |
| Floor6 jmz573515 | Posted 2007-03-01 10:53 |
| 银牌会员 Posts 464 Credits 1,212 | |
|
Great! Push it up!
|
|
| Floor7 jmz573515 | Posted 2007-03-01 11:09 |
| 银牌会员 Posts 464 Credits 1,212 | |
|
Found a problem. The size of the regenerated image seems to be scaled according to the aspect ratio of the original image. I wonder if it can be scaled to a custom size? (For example, change a 1024*768 image to 300*300)
|
|
| Floor8 ran520 | Posted 2007-03-01 12:06 |
| 初级用户 Posts 12 Credits 24 | |
| Floor9 slore | Posted 2007-03-01 12:51 |
| 铂金会员 Posts 2,478 Credits 5,212 | |
|
Windows Image Acquisition ?
Both Windows ME and XP have WIA installed by default. But my XP doesn't have it... Using Scale should be about the proportional relationship. I think IrfanView.exe is good, it's compact (no other plugins) and has strong functions. (The main file size is about the same as the runtime library of WIA) |
|
| Floor10 vkill | Posted 2007-03-02 00:14 |
| 金牌会员 Posts 1,744 Credits 4,103 From 甘肃.临泽 | |
|
Brother slore:
If you want to use a third-party one, PngMate is better |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |