Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Zaph  
#1 Posted : Sunday, January 07, 2007 7:10:39 PM(UTC)
Zaph

Rank: Member

Groups: Member
Joined: 5/24/2004(UTC)
Posts: 3

Hello, when I use the Pixels property using the code below, the result is skewed. Any idea what might be heappening? Peter
Code:
	For Y = 0 To oJPG.Data.Height - 1
		For X = 0 To oJPG.Data.Width - 1
			P = oJPG.Data.Pixels(X, Y)
			If P > 128 Then
				P = "X"
			Else
				P = "."
			End If
			Response.Write P
		Next
		Response.Write "<br>"
	Next

Edited by user Tuesday, December 18, 2007 7:19:53 PM(UTC)  | Reason: Not specified

Andrew  
#2 Posted : Wednesday, January 10, 2007 12:49:21 PM(UTC)
Andrew

Rank: Advanced Member

Groups: Member, Administration
Joined: 8/2/2003(UTC)
Posts: 865

Thanks: 2 times
Was thanked: 25 time(s) in 25 post(s)
Hi Zaph, What you mean my "skewed"? Could you attach the original image, the result you get and result you expect?
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.