PCnet Online forumlarına katılmak için hesap açabilirsiniz.
  • Üye girişi:

PCnet Online forumlarına hoş geldiniz

+ Başlığa Yanıt Yaz
Sayfa 2 / 3 İlkİlk 123 SonSon
11 sonuçtan 6 - 10 arası sonuçlar
  1. #6

    Varsayılan

    Elmalar birbirlerine çok yakın olduğu için birebir ayrı durmuyorlar.
    Dosyayı inceleyebilirisin. Dilimlemeyi Photooshop ile yapılabiliyor.

  2. #7

    Varsayılan

    sanırım ben bulamadım ama dosyayı incele derken dosyamı ekledin

  3. #8

    Varsayılan

    Upload formundan gelen resmi crop eden asp kodu istersen formdan gelen resim yerine veri tabanından aldığın resim konumunu verip te o resmi crop edebilirsin.

    Resmi upload için form kodu
    Kod:
    <form action="image-crop-demo.asp" method="post" enctype="multipart/form-data">
      Upload an image for processing<br>
      <input type="file" name="Image1"><br>
      <input type="submit" value="Upload">
    </form>
    Formdan gelen resmi crop edecek olan asp kodu "image-crop-demo.asp"
    Kod:
    <%@ language="vbscript" %>
    <%
    option explicit
    '----------------------------------------------------------------
    ' Crop-to-fit ASPJPEG
    ' Revision 2 [2009-06-01]
    ' Corrected aspect ratio of the output image
    '----------------------------------------------------------------
    const DESIRED_IMAGE_WIDTH = 150
    const DESIRED_IMAGE_HEIGHT = 150
    dim oUpload
    set oUpload = Server.CreateObject( "PERSITS.UPLOAD" )
    '
    ' Ideally, you should set the properties for ASPUPLOAD component here
    '
    oUpload.Save
    dim oFile
    set oFile = oUpload.Files( "Image1" )
    dim oJpeg
    set oJpeg = Server.CreateObject( "PERSITS.JPEG" )
    '
    ' Ideally, you should set the properties for PERSITS.JPEG component here
    '
    '
    ' This example requires that PreserveAspectRatio is set to FALSE
    ' Otherwise you may notice round-off errors when ASPJPEG resizes the image
    '
    oJpeg.PreserveAspectRatio = false
    oJpeg.OpenBinary( oFile.Binary )
    dim SourceAspectRatio
    dim DesiredAspectRatio
    SourceAspectRatio = oJpeg.Width / oJpeg.Height
    DesiredAspectRatio = DESIRED_IMAGE_WIDTH / DESIRED_IMAGE_HEIGHT
    if SourceAspectRatio > DesiredAspectRatio then
    '
    ' Triggered when source image is wider
    '
    oJpeg.Height = DESIRED_IMAGE_HEIGHT
    oJpeg.Width = DESIRED_IMAGE_HEIGHT * SourceAspectRatio
    else
    '
    ' Triggered otherwise (i.e. source image is similar or taller)
    '
    oJpeg.Width = DESIRED_IMAGE_WIDTH
    oJpeg.Height = DESIRED_IMAGE_WIDTH / SourceAspectRatio
    end if
    dim X0
    dim Y0
    dim X1
    dim Y1
    '
    ' Crop the image keeping the CENTER part intact
    '
    X0 = ( oJpeg.Width - DESIRED_IMAGE_WIDTH ) / 2
    Y0 = ( oJpeg.Height - DESIRED_IMAGE_HEIGHT ) / 2
    X1 = X0 + DESIRED_IMAGE_WIDTH
    Y1 = Y0 + DESIRED_IMAGE_HEIGHT
    oJpeg.Crop X0, Y0, X1, Y1
    oJpeg.SendBinary
    %>

  4. #9

    Varsayılan

    Alıntı Orijinalini Gönderen: yyyaaab Mesajı Görüntüle
    sanırım ben bulamadım ama dosyayı incele derken dosyamı ekledin
    Eklemeyi unutmuşum kusura bakmayın.
    http://www.dosyaupload.net/download....%F6r%20(2).rar

    Resim dilimli olduğu için pop upta açtırırken istediğiniz parçayı gösterebilirsiniz.

  5. #10

    Varsayılan tşkler de

    öncelikle ilgin için tşk ederim ama bu yaptığını bende düşündüm de çok zor şöyleki

    100 resim olduğunu düşün ve bu yüz resimde 100 elma olduğunu düşün 100X100=10000 resim eder ve bunu yapmak hiç kolay değil

    benim istediğim şey resmin üstüne işaret koyacam programda o işareti seçtiğimde resmin sadece o işaretin olduğu kısmı gözükecek


 

Benzer Başlıklar

  1. saat takvim ,resim haberler gösterilmesi
    sibel285 tarafından Windows'u Kişiselleştirme forumunda
    Yanıt: 3
    Son Mesaj: 01.07.2009, 11:03
  2. Resmin üzerine mouse geldiğinde resmin büyümesi..
    SMallianceTR tarafından Web ve Grafik Tasarımı forumunda
    Yanıt: 3
    Son Mesaj: 30.07.2007, 03:16
  3. Yanıt: 5
    Son Mesaj: 13.04.2005, 19:03
  4. SQL de rakamların gösterilmesi
    Fraktal tarafından Web ve Grafik Tasarımı forumunda
    Yanıt: 1
    Son Mesaj: 03.03.2005, 22:35
  5. Photoshop bölümünün kaldırılması
    shapcy tarafından PCnet forumunda
    Yanıt: 0
    Son Mesaj: 16.07.2003, 16:41