国产一级a片免费看高清,亚洲熟女中文字幕在线视频,黄三级高清在线播放,免费黄色视频在线看

打開(kāi)APP
userphoto
未登錄

開(kāi)通VIP,暢享免費(fèi)電子書(shū)等14項(xiàng)超值服

開(kāi)通VIP
使用ASP代碼給圖片自動(dòng)加邊框生成新圖片
 
<%

call Pic_bg("05.jpg","images\Img_01.jpg","images\Img_02.jpg","images\Img_03.jpg","images\Img_04.jpg","images\
Img_05.jpg","images\Img_06.jpg","images\Img_07.jpg","images\Img_08.jpg","images\Img_09.jpg")


call Pic_bg("05.jpg","images\z_01.jpg","images\z_02.jpg","images\z_03.jpg","images\z_04.jpg","images\Img_05.jpg","images\
z_06.jpg","images\z_07.jpg","images\z_08.jpg","images\z_09.jpg")


Public Sub Pic_bg(image_old,bg_topleft,bg_topcenter,bg_topright,bg_centerleft,bg_center,bg_centerright,bg_buttomleft,
bg_buttomcenter,bg_buttomright)

'————————————設(shè)置原來(lái)畫(huà)的大小『image_old』
Set Logo_old = Server.CreateObject("Persits.Jpeg")
Logo_oldPath = Server.MapPath(image_old)
Logo_old.Open Logo_oldPath
Logo_old.Width = Logo_old.OriginalWidth
Logo_old.Height = Logo_old.OriginalHeight

'————————————設(shè)置左上角的圖片大小.『bg_topleft』
Set Logo_topleft = Server.CreateObject("Persits.Jpeg")
Logo_topleftPath = Server.MapPath(bg_topleft)
Logo_topleft.Open Logo_topleftPath
Logo_topleft.Width = Logo_topleft.OriginalWidth
Logo_topleft.Height = Logo_topleft.OriginalHeight

'————————————設(shè)置右上叫角圖片大小?!篵g_topright』
Set Logo_topright = Server.CreateObject("Persits.Jpeg")
Logo_toprightPath = Server.MapPath(bg_topright)
Logo_topright.Open Logo_toprightPath
Logo_topright.Width = Logo_topright.OriginalWidth
Logo_topright.Height = Logo_topright.OriginalHeight
'————————————設(shè)置左下叫角圖片大小。『bg_buttomleft』
Set Logo_buttomleft = Server.CreateObject("Persits.Jpeg")
Logo_buttomleftPath = Server.MapPath(bg_buttomleft)
Logo_buttomleft.Open Logo_buttomleftPath
Logo_buttomleft.Width = Logo_buttomleft.OriginalWidth
Logo_buttomleft.Height = Logo_buttomleft.OriginalHeight
'————————————設(shè)置右下叫角圖片大小?!篵g_buttomright』
Set Logo_buttomright = Server.CreateObject("Persits.Jpeg")
Logo_buttomrightPath = Server.MapPath(bg_buttomright)
Logo_buttomright.Open Logo_buttomrightPath
Logo_buttomright.Width = Logo_buttomright.OriginalWidth
Logo_buttomright.Height = Logo_buttomright.OriginalHeight
'————————————設(shè)置背景圖片大小.『bg_center』
Set Logo_center = Server.CreateObject("Persits.Jpeg")
Logo_centerPath = Server.MapPath(bg_center)
Logo_center.Open Logo_centerPath
Logo_center.Width = Logo_topleft.Width + Logo_old.Width + Logo_topright.Width '---背景圖片的寬度為左上角寬+原圖寬+右上角寬
Logo_center.Height =Logo_topleft.Height + Logo_old.Height + Logo_buttomleft.Height ''---背景圖片的高度為左上角高+原圖高+左下角高
'————————————設(shè)置上中圖片的大小.『bg_topcenter』 高度不變 寬度為背景寬度
Set Logo_topcenter = Server.CreateObject("Persits.Jpeg")
Logo_topcenterPath = Server.MapPath(bg_topcenter)
Logo_topcenter.Open Logo_topcenterPath
Logo_topcenter.Width = Logo_old.Width
Logo_topcenter.Height = Logo_topcenter.OriginalHeight
'————————————設(shè)置中左圖片的大小『bg_centerleft』寬度不變 高度為背景高度
Set Logo_centerleft = Server.CreateObject("Persits.Jpeg")
Logo_centerleftPath = Server.MapPath(bg_centerleft)
Logo_centerleft.Open Logo_centerleftPath
Logo_centerleft.Width = Logo_centerleft.OriginalWidth
Logo_centerleft.Height = Logo_old.Height
'————————————設(shè)置中右圖片的大小『bg_centerright』 寬度不變 高度為背景高度
Set Logo_centerright = Server.CreateObject("Persits.Jpeg")
Logo_centerrightPath = Server.MapPath(bg_centerright)
Logo_centerright.Open Logo_centerrightPath
Logo_centerright.Width = Logo_centerright.OriginalWidth
Logo_centerright.Height = Logo_old.Height
'————————————設(shè)置下中圖片的大小『bg_buttomcenter』 高度不變 寬度為背景寬度
Set Logo_buttomcenter = Server.CreateObject("Persits.Jpeg")
Logo_buttomcenterPath = Server.MapPath(bg_buttomcenter)
Logo_buttomcenter.Open Logo_buttomcenterPath
Logo_buttomcenter.Width = Logo_old.Width
Logo_buttomcenter.Height = Logo_buttomcenter.OriginalHeight
Dim ImagesfilesName
ImagesfilesName = (year(now)&month(now)&day(now)&hour(now)&minute(now)&second(now)&Int((1000-1+1)*Rnd+1))
'===================================Start Amalgamate Chart ====================================================

'————————————層疊邊框bg跟畫(huà)
Logo_center.DrawImage Logo_topleft.Width ,Logo_topleft.Height, Logo_old
Logo_center.Save Server.MapPath("image/" + ImagesfilesName + ".jpg")
dim Imagespath
Imagespath=("image/" + ImagesfilesName + ".jpg")
response.Write "<img src="/image/"" + ImagesfilesName + ".jpg >"
'————————————層疊左上跟畫(huà)
Set Logo_toplefter = Server.CreateObject("Persits.Jpeg")
Logo_toplefterPath = Server.MapPath(Imagespath)
Logo_toplefter.Open Logo_toplefterPath
Logo_toplefter.Width = Logo_toplefter.OriginalWidth
Logo_toplefter.Height = Logo_toplefter.OriginalHeight
Logo_toplefter.DrawImage 0,0, Logo_topleft
Logo_toplefter.Save Server.MapPath(Imagespath)

'————————————
Set Logo_toprighter = Server.CreateObject("Persits.Jpeg")
Logo_toprighterPath = Server.MapPath(Imagespath)
Logo_toprighter.Open Logo_toprighterPath
Logo_toprighter.Width = Logo_toprighter.OriginalWidth
Logo_toprighter.Height = Logo_toprighter.OriginalHeight
Logo_toprighter.DrawImage (Logo_topleft.Width + Logo_old.Width),0, Logo_topright
Logo_toprighter.Save Server.MapPath(Imagespath)
'————————————
Set Logo_buttomlefter = Server.CreateObject("Persits.Jpeg")
Logo_buttomlefterPath = Server.MapPath(Imagespath)
Logo_buttomlefter.Open Logo_buttomlefterPath
Logo_buttomlefter.Width = Logo_buttomlefter.OriginalWidth
Logo_buttomlefter.Height = Logo_buttomlefter.OriginalHeight
Logo_buttomlefter.DrawImage 0,(Logo_topleft.Height + Logo_old.Height), Logo_buttomleft
Logo_buttomlefter.Save Server.MapPath(Imagespath)
'———————————
Set Logo_buttomrighter = Server.CreateObject("Persits.Jpeg")
Logo_buttomrighterPath = Server.MapPath(Imagespath)
Logo_buttomrighter.Open Logo_buttomrighterPath
Logo_buttomrighter.Width = Logo_buttomrighter.OriginalWidth
Logo_buttomrighter.Height = Logo_buttomrighter.OriginalHeight
Logo_buttomrighter.DrawImage (Logo_topleft.Width + Logo_old.Width),(Logo_topleft.Height + Logo_old.Height), Logo_buttomright
Logo_buttomrighter.Save Server.MapPath(Imagespath)
'———————————
Set Logo_topcenterer = Server.CreateObject("Persits.Jpeg")
Logo_topcentererPath = Server.MapPath(Imagespath)
Logo_topcenterer.Open Logo_topcentererPath
Logo_topcenterer.Width = Logo_topcenterer.OriginalWidth
Logo_topcenterer.Height = Logo_topcenterer.OriginalHeight
Logo_topcenterer.DrawImage Logo_topleft.Width,0, Logo_topcenter
Logo_topcenterer.Save Server.MapPath(Imagespath)
'————————————設(shè)置中左圖片的大小『bg_centerleft』寬度不變 高度為背景高度
Set Logo_centerlefter = Server.CreateObject("Persits.Jpeg")
Logo_centerlefterPath = Server.MapPath(Imagespath)
Logo_centerlefter.Open Logo_centerlefterPath
Logo_centerlefter.Width = Logo_centerlefter.OriginalWidth
Logo_centerlefter.Height = Logo_centerlefter.OriginalHeight
Logo_centerlefter.DrawImage 0,Logo_topleft.Height, Logo_centerleft
Logo_centerlefter.Save Server.MapPath(Imagespath)
'————————————
Set Logo_centerrighter = Server.CreateObject("Persits.Jpeg")
Logo_centerrighterPath = Server.MapPath(Imagespath)
Logo_centerrighter.Open Logo_centerrighterPath
Logo_centerrighter.Width = Logo_centerrighter.OriginalWidth
Logo_centerrighter.Height = Logo_centerrighter.OriginalHeight
Logo_centerrighter.DrawImage (Logo_topleft.Width + Logo_old.Width),Logo_topleft.Height, Logo_centerright
Logo_centerrighter.Save Server.MapPath(Imagespath)


Set Logo_buttomcenterer = Server.CreateObject("Persits.Jpeg")
Logo_buttomcentererPath = Server.MapPath(Imagespath)
Logo_buttomcenterer.Open Logo_buttomcentererPath
Logo_buttomcenterer.Width = Logo_buttomcenterer.OriginalWidth
Logo_buttomcenterer.Height = Logo_buttomcenterer.OriginalHeight
Logo_buttomcenterer.DrawImage Logo_topleft.Width,(Logo_topleft.Height + Logo_old.Height), Logo_buttomcenter
Logo_buttomcenterer.Save Server.MapPath(Imagespath)

'Set Congruence_Size = Server.CreateObject("Persits.Jpeg")
'Congruence_SizePath = Server.MapPath(Imagespath)

Set Congruence_Size = Server.CreateObject("Persits.Jpeg")
Congruence_SizePath = Server.MapPath(Imagespath)
Congruence_Size.Open Congruence_SizePath
Congruence_Size.Width = Congruence_Size.Width/2
Congruence_Size.Height = Congruence_Size.Width * Congruence_Size.OriginalHeight/ Congruence_Size.OriginalWidth
Congruence_Size.Save Server.MapPath(Imagespath)

End Sub
%>
本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊舉報(bào)。
打開(kāi)APP,閱讀全文并永久保存 查看更多類(lèi)似文章
猜你喜歡
類(lèi)似文章
整理了一些初學(xué)者常用的ASP代碼
AspJpeg組件的用法
AspJpeg使用方法范例  ASP教程 PHP易吧--
用ASP上傳Excel 表格并導(dǎo)入到數(shù)據(jù)庫(kù)
ASP連接Access數(shù)據(jù)庫(kù)幾種常見(jiàn)方法
[收藏]Asp 與access數(shù)據(jù)庫(kù)連接及基本操作
更多類(lèi)似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長(zhǎng)圖 關(guān)注 下載文章
綁定賬號(hào)成功
后續(xù)可登錄賬號(hào)暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服