班班家的田园太风光了,俺嫉妒。。。。小声问,班班出去一星期,园子怎么办?俺家那几棵菜,不天天浇水就死的很难看 ![]() 不是有意种的是啥东东? 两小无猜可爱 ![]() 班班好像不是第一次贴”无所谓“了, 俺是看了”好声音“才知道杨坤的。 ![]() 拜晴MM所赐, 帅 ![]() |
![]() |
俺园子里,应该有10天没浇水了,明天去浇水吧(俺家单号,夏天只能星期三五七浇水)。 不过今年天气比较湿润,好像不需要怎么浇水。天气湿润的另外一个意思是,剪草需要很勤快。 ![]() 出去一星期,地上的小西红柿掉了一地,太可惜了。 非有意种的,俺也不认识,长在园子外,伸进园子了。总之是俺也不认识的野草罢了。 贴过《无所谓》了?难怪它早就呆在俺dropbox 里了,俺还以为漏网了,哈哈 ![]() |
果树可以不用天天浇水。 草坪靠sprinkler ![]() 班班贴得也许不是杨坤版的无所谓? ![]() 拜晴MM所赐, 帅 ![]() |
对了,俺的新边框,是自己弄的小程序设计的,用Macbook的shell script写的。 一个命令行可批处理多个JPG照片。需要使用免费软件ImageMagick的convert。 $ genPicBorder.sh "Vege Garden" DSC_*.JPG 我可以把这个 script 贴出来。你Macbook如果安装了 ImageMagick,就可以用了: $ sudo port install ImageMagick ![]() |
拍得真好. ![]() 这个就快瓜熟蒂落了. |
这回是合唱版的? 俺没开speakers呢 好像没有 ImageMagick,不过, 既然是免费的,咱就装了去?![]() 有没有scripts能自动浇水,驱鸟? ![]() ![]() 本贴由[veil]最后编辑于:2012-8-25 21:28:7 ![]() 拜晴MM所赐, 帅 ![]() |
那个是南瓜,这个猛长,希望能长到 halloween ![]() ![]() |
有人让俺人工授粉,俺不敢动花花,黄瓜,南瓜,葫芦成果都不多 ![]() ![]() 拜晴MM所赐, 帅 ![]() |
也是免费的 ![]() 俺现在已经完全用gimp了,慢慢放弃PC上的“光影魔术手”了 不过,gimp 好像dependencies 挺多的,费点时间 ![]() ![]() |
南瓜开了无数花,结果才长出三个瓜;今年黄瓜花花一堆,居然没有长一个。 主要是不认识雌雄花,否则俺也想亲自上阵 ![]() ![]() |
你的豆蔻年华是母花 烈士暮年是公花 ![]() 拜晴MM所赐, 帅 ![]() |
你PP里的瓜都是雌瓜. 俺赶脚蜜蜂在你家园子干得满好的. 俺专门种了招蜜蜂的花Borage, 都不给俺授粉. |
俺一点不懂园艺,海棠MM是专家 ![]() 拜晴MM所赐, 帅 ![]() |
俺也没接受过贫下中农的再教育. |
下回就照着词性授粉吧 ![]() 拜晴MM所赐, 帅 ![]() |
只有火柴杆那么粗,俺也是今年才发现的 本贴由[veil]最后编辑于:2012-8-25 22:50:53 ![]() 拜晴MM所赐, 帅 ![]() |
怕是来不及,不过倒是提醒我了,见到花俺统统都授粉,管他雌雄 ![]() ![]() ![]() |
那“粉”在哪颗上面? ![]() ![]() |
一般到十月初打霜,室外植物不加保护很少能不遭殃 ![]() |
你只要 在线shell中运行 $ sudo port install gimp 就可以了,它应该会帮你自动找所需要的其他dependencies ![]() |
不同的只是规模 ![]() ![]() |
经常是亏本,因为没经验嘛。 ![]() 想想,大片的地方,种草也一样花力气和钱。 ![]() ![]() |
俺正好还没装魔术手,就免了。 ![]() ![]() 拜晴MM所赐, 帅 ![]() |
俺装了ImageMagik, your "genPicBorder.sh"? ![]() ![]() 拜晴MM所赐, 帅 ![]() |
https://dl.dropbox.com/u/85604141/Pic/genPicBorder.sh https://dl.dropbox.com/u/85604141/Pic/DSC_3491_BD.jpg ![]() |
#!/bin/sh # # see a saple framed picture here: https://dl.dropbox.com/u/85604141/Pic/DSC_3491_BD.jpg # # 1- download the scripts here: https://dl.dropbox.com/u/85604141/Pic/genPicBorder.sh # 2- make it excutable: $ chmod u+x genPicBorder.sh # 3- how to use it: $ ./genPicBorder.sh # ####### # # define fonts; check your system to see what is available using # this comand line: $ convert -list font exiffont="Courier" textfont="Papyrus-Regular" timefont="Copperplate-Light" signfont="Bauhaus-93-Regular" # define font colors exifcolor="gray80" textcolor="blue" timecolor="gray70" signcolor="gray70" mysign="qp" ######## if [ $# -lt 2 ] then cat << _EOF_ --------------------------------˚ USAGE: ./genPicBorder "text description of the picture" file1 file2 ..., or ./genPicBorder "text description of the picture" *.jpg, or ./genPicBorder "text description of the picture" directory/*.jpg ... --------------------------------˚ _EOF_ exit fi text="$1" while [ "$2" != "" ]; do # Skip directories if [ -d "$2" ]; then shift continue fi # Skip already converted files (may get overwritten) if [[ $2 == *_BD* ]] then echo "------ Skipping: $2" shift continue fi # adding "_BD" before file extension file=$2 echo "====> Working on file: $file" filename=${file%.*} extension=${file##*.} output=${filename}_BD.${extension} # Get the file dimension dim=$(identify -format "%w %h" "$file") width=${dim%% *} height=${dim#* } blk=$(($height/20)) # Decide the font size automatically if [ $width -ge $height ] then pointsize=$(($width/50)) else pointsize=$(($height/50)) fi pointsize2=$(($height/10)) dd=$(identify -format "%[EXIF:DateTimeOriginal]" "$file") # date dd1=${dd%% *} # time hh:mm:ss dd2=${dd#* } # time hh:mm dd3=${dd2%:*} echo " Width: $width, Height: $height. Using pointsize: $pointsize and $pointsize2 with blank $blk" ################################################################ convert "$file" \ -gravity southeast -font $exiffont -pointsize $(($pointsize*3/4)) -fill $exifcolor -annotate +0+0 "%[EXIF:Model] ($width\x$height) %t" \ -bordercolor white -border 10 \ -gravity south -font $textfont -pointsize $pointsize -fill $textcolor -splice 0x$blk -annotate +0+$(($blk/2-$pointsize*3/4)) " $text" \ -gravity southeast -font $timefont -fill $timecolor -annotate -10+$(($blk/2-$pointsize/2)) " $dd1 @ $dd3 " \ -gravity southwest -font $signfont -pointsize $pointsize2 -fill $signcolor -annotate +100-3 "$mysign" \ -bordercolor gray40 -border 3 -bordercolor gray10 -border 1 \ -mattecolor gray99 -frame 1%x1%+3+3 \ "$output" ################################################################ # 1- add exif info at the right-bottom corner # 2- add a white border immediately outside of the picture; -bordercolor white -border 10 # 3- add $text (extra white space defined by $blk) # 4- add date/time info # 5- add $mysign # 4- add a gray border; add a black border; # 5- add a frame # shift done exit 0 本贴由[大清太平]最后编辑于:2012-8-26 14:50:6 ![]() |
I will give it a try when I get a chance. Thanks! ![]() 拜晴MM所赐, 帅 ![]() |
这个产生边框的代码,和GIMP无关的。GIMP2.8 确实是需要XQuartz。 这个代码,需要使用ImageMagick的convert (以及identify) 程序。convert 异常强大! ![]() |
没问题,俺有时间再试,这会儿ImagMagik bin 下的东东,包括convert, 还不在俺的default path 里, 哈。 I love mac book ![]() ![]() 拜晴MM所赐, 帅 ![]() |
在convert和identify前面加上path就可以了。是什么乱码? ![]() |
每张的标题好形象哦, 精彩, 喜欢. 本贴由[随意风]最后编辑于:2012-8-27 1:58:23 |
欢迎新朋友落脚秀坛 ![]() ![]() |
欢迎光临 珍珠湾ART (https://zzwav.com/) | Powered by Discuz! X3 |