Thư Viện Chia Sẻ Kiến Thức Trang Chủ
Diễn đàn  -  Asp.net  -  Mã nguồn  -  Software  -  Rao vặt  -  Việc làm  -  Games  -  Chộm Avata  -  Music  -  PHOTOSHOP ONLINE

chup anh dam sen | How to get rid of cellulite on thighs and back of legs fastest ? | Dịch vụ Thiết kế website| Diễn đàn rao vặt miễn phí | dich vu seo | Dịch vụ Seo từ khóa | nao thai | bigc | vatgia | mua ban | Game vui nhon | H8VN HAPPY8 http://www.happy8.biz/ | Bảng giá cước taxi nội bài mới nhất

-:-[ DIỄN ĐÀN CHIA SẺ ]-:- -:-[ DIỄN ĐÀN CHIA SẺ ]-:- > XÂY DỰNG VÀ PHÁT TRIỂN WEBSITE > ASP/ASP.NET
  Chủ đề mới Chủ đề mới
  FAQ FAQ  Tìm Kiếm Trên Diễn Đàn   Lịch sự kiện   Đăng Ký Đăng Ký  Đăng Nhập Đăng Nhập

resize image trong asp.net

 Gửi trả lời Gửi trả lời
Tác Giả
Nội dung
  Chủ Đề Tìm Kiếm Chủ Đề Tìm Kiếm  Hỗ trợ Hỗ trợ
thanhtuyen Xem Kiểu Thả Xuống
Administrator
Administrator
Hình đại diện
Thành viên thứ: 1
Tham Gia: 02/Jan/2007
Đến Từ: Hưng Yên
Trạng thái:
Bài viết: 365
Được cảm ơn: 114 lần trong 42 bài viết
Level: 18

Life

Magic

Experience

  Trích dẫn thanhtuyen Trích dẫn  Gửi trả lờiTrả lời Chuyển liên kết đến bài viết này Chủ Đề: resize image trong asp.net
    Ngày viết: 09/Mar/2010 lúc 10:29
'------ tạo file img.aspx để lấy hình nhỏ---

<%@ Page Language=''VB'' %>
<%@ import Namespace=''System.Drawing'' %>
<%@ import Namespace=''System.io'' %>
<%@ import Namespace=''System.Drawing.Imaging'' %>
<script runat=''server''>

function wh(byval old as point,thu as point) as point
if old.x> old.y then
wh.x=thu.x
wh.y=(old.y / old.x)*thu.y
end if
if old.x < old.y then
wh.y=thu.y
wh.x=(old.x / old.y)*thu.x
end if
if old.x= old.y then
wh.x=thu.x
wh.y=thu.y
end if
end function


function thumb(filename as string,byval s as integer) as bitmap
Dim b As System.Drawing.image=System.Drawing.image.FromFile (server.mappath(filename))
dim c as new bitmap(s,s)
dim p as point=wh(new point(b.width,b.height),new point(s,s))
c=b.GetThumbnailImage(p.x,p.y,nothing,nothing)
return c
b.dispose
c.dispose

end function
Sub Page_Load(sender As Object, e As EventArgs)
dim name as string=server.urldecode(request(''name''))
if name<>nothing then thumb(name,100).save (response.outputstream,imageformat.jpeg) else response.write(''thumbnail file by Panh'') ' số 100 là kich thước ảnh lúc thumb
End Sub

</script>
<html>
<head>
</head>
<body bgcolor=''silver''>
<form runat=''server''>
</form>
</body>
</html>

ví dụ muốn tạo thumb ảnh ''loveyou.jpg'' thì ghi như sau <img src=img.aspx?name=loveyou.jpg> ---> tạo ra ảnh nhỏ mà nhẹ,nhanh . Tỉ lệ kich thứơc width, height như cũ
******* Hãy cùng chia sẻ với bạn bè bằng cách *******
Copy đường link dưới đây, để gửi đến cho bạn bè xem bài viết này !
Lên trên
alexander2 Xem Kiểu Thả Xuống
Thành Viên Chính Thức
Thành Viên Chính Thức
Hình đại diện
Thành viên thứ: 49000
Tham Gia: 13/Aug/2013
Đến Từ: Somalia
Trạng thái:
Bài viết: 94

Level: 4

Life

Magic

Experience

  Trích dẫn alexander2 Trích dẫn  Gửi trả lờiTrả lời Chuyển liên kết đến bài viết này Ngày viết: 14/Aug/2013 lúc 13:09
An authentic standard of excellence as well as an emblem of Genevan the watchmaking industry, the "Hallmark of Geneva", established in 1886 through the legislative body from the Grand Council from the Republic and Canton of Geneva, is really a guarantee of origin,jimmy choo outlets jimmy choo outlets, craftsmanship, sturdiness and expertise.? Within this its 125th anniversary the planet-famous label is going through a simple change particularly cellular developments within the techniques and materials utilized in the watchmaking industry.
?
Major change: from 2012,red pumps heels red pumps heels, the certification will no more apply basically towards the movement, but towards the watch in the whole. The outside appearance will even be taken into consideration. The output of components and inspections on all procedures resulting in the conclusion from the watch will henceforth be susceptible to more systematic and stringent controls,fox feather short boots fox feather short boots, having a particular concentrate on if the set up, adjustment and casing are carried out Geneva. Inspection from the finished watch also comprises a fundamental element of the needs for that Geneva label. New inspections will also be to be relevant to water resistance,candy black flat candy black flat, precision,patent short boots black patent short boots black, functions and energy reserve of every watch.
?
As underlined by Daniel Favre, Leader from the Foundation Council of TIMELAB -Geneva Laboratory of Horology and Microengineering that hosts the certification, "The Hallmark of Geneva' is going through an evolution that can offer much more standing. This kind of AOC is really a true guarantee of quality whose limitations are now being enlarged in order to correspond as carefully as you possibly can to customer anticipation for Fine The watchmaking industry pieces."
?
Juan-Carlos Torres,pumps with red soles pumps with red soles, Boss of and Leader from the "Union des fabricants d horlogerie p Geneve, Vaud et Valais" (UFGVV), also emphasises the need for the "Hallmark Of Geneva" for that the watchmaking industry sector: "Within an industry ingrained with authenticity, and among uncertain occasions propitious to genuine values,three-strap black patent mary Jane pumps three-strap black patent mary Jane pumps, a obvious, precise, transparent and intelligible label is of course a vital resource. It offers companies by having an assured way of safeguarding and protecting their expertise, in addition to perpetuating the crafts related to everything about FineWatchmaking."
相关的主题文章:


   http://puertadepescadores.com.ar/foro/forum_posts.asp?TID=13&PID=36#36

   http://phanmemtracnghiem.com/forum_posts.asp?TID=310&PID=42830#42830

   http://portal.tcvn.vn/hoidap/forum_posts.asp?TID=0&PID=0#0

   http://perkusyon.net/forum/forum_posts.asp?TID=11263&PID=13785#13785

   http://permobilit.com/forum_posts.asp?TID=23196&PID=23302#23302

   http://petgoruntuleme.com/forum/forum_posts.asp?TID=402&PID=519#519

   http://perkusyon.net/forum/forum_posts.asp?TID=11262&PID=13784#13784

Lên trên
alexander2 Xem Kiểu Thả Xuống
Thành Viên Chính Thức
Thành Viên Chính Thức
Hình đại diện
Thành viên thứ: 49000
Tham Gia: 13/Aug/2013
Đến Từ: Somalia
Trạng thái:
Bài viết: 94

Level: 4

Life

Magic

Experience

  Trích dẫn alexander2 Trích dẫn  Gửi trả lờiTrả lời Chuyển liên kết đến bài viết này Ngày viết: 19/Sep/2013 lúc 14:25
These charming Hill Country wedding have snapped up your hands on me strings inside a large way and that i do not discover their whereabouts ever letting go.? That's a lot more than okay beside me, though, since i can t even start to describe my passion for this darling affair, including a rustic venue (mind-coming sights incorporated), a beyond gorgeous bouquet and an array of uber-sweet, organic touches.? Plus,hermes outlet, the stunning wedding couple are generally rockin cowboy boots and, oh,ralph lauren perfume, the way i adore that.? I predict each day spent ended in every single brilliant image taken by , before I give back off and away to the gallery to gaze away,ralph lauren city polo, I couldn t help but finish this little intro having a quote in the beautiful bride I simply can't imagine an easy method to invest the wedding than dancing underneath the stars following a perfect sunset having a groom in seersucker. ? How very awesome is the fact that?!??
Photography By / Photography By / Photography By / Photography By / Photography By / Photography By / Photography By / Photography By / Photography By / Photography By / Photography By / Photography By / Photography By / Photography By / Photography By / Photography By / Photography By / Photography By / Photography By / Photography By / In the Bride I spent one weekend around Austin searching for a venue,cheap cocktail dresses, realizing it would need to be considered a hill country setting. On our last day, I squashed in a single final visit in a new property venture in the suggestion of the friend of my mother's (who knows who you'll meet in line at Antone's whenever you talk around my mother). The lengthy grime road resulting in the home didn't exactly scream "here it is!Inch but the moment I acquired from the vehicle and saw the vista, I understood we'd found something. The uncompromising great thing about this area was enough. Carol at Tres Lunas did an incredible job letting me possess the reigns and designing everything to my style. She even found the gorgeous 1915 Model T we drove away in. Meredith at MPrint did a fantastic job of taking the sunset behind the large oak tree, lovingly known to as Dorothy by individuals knowledgable,cheap homecoming dresses, and the simplicity the big event. The groom's brother performed Moon River around the ukulele when i walked lower the aisle. He am good, we even attracted a couple of ranch felines- an attractive ceremony surprise. The entire factor was unbelievably perfect and that i cannot imagine an easy method to invest the wedding than dancing underneath the stars following a perfect sunset having a groom in seersucker.Wedding
相关的主题文章:


   http://3cat24.cat.edu.pk/Forums/forum_posts.asp?TID=232134&PID=312021#312021

   http://www.dbfc17.fr/wp-content/imgs/a-line-strapless-wedding-dresses.html

   http://www.c-group.it/public/forum/forum_posts.asp?TID=533&PID=812#812

   http://bbs.787g.com/forum.php?mod=viewthread&tid=1539625

   http://www.apple-world.biz/forum/topic.php?id=644&replies=2#post-1649

   http://motul-nn.ru/content/copy-breitling-goodbye-2013-hello-2013

   http://icdrec.edu.vn/en/qa/replica-tag-and-you-may-really-ascertain-yourself-having-a-nice

Lên trên
bofafilly Xem Kiểu Thả Xuống
Thành Viên Mới
Thành Viên Mới
Thành viên thứ: 52315
Tham Gia: 19/Sep/2014
Trạng thái:
Bài viết: 3

Level: 1

Life

Magic

Experience

  Trích dẫn bofafilly Trích dẫn  Gửi trả lờiTrả lời Chuyển liên kết đến bài viết này Ngày viết: 19/Sep/2014 lúc 08:55

"Oh, my poor man," exclaimed the kind old lady, "It must be dreadful to be lame. But it would be much worse if you were blind." "You're absolutely right," said the beggar, obviously an old hand at the game." When I was blind, people kept giving me foreign coins."





------------------------------------------------------------------------------
fifa 14 coins|buy fifa 14 coins

Lên trên
 Gửi trả lời Gửi trả lời

Số thành viên hiện tại đang xem chủ đề: 1 (Thành viên: 1, Khách: 1)
Thành viên:

Di Chuyển Nhanh Tôi có thể làm gì trong diễn đàn ? Xem Kiểu Thả Xuống

Điều hành: HOÀNG THANH TUYẾN
Điện thoại: 0987.838.199 - Email: info@phanmemtracnghiem.com
Website đang trong thời gian hoạt động thử nghiệm