Last post Mar 27, 2013 08:10 PM by Avintrue
Oct 10, 2007 07:31 AM|CurtWRC|LINK
I'm trying to import an image from the server into my file, then skew the image so that I can give the perspection. I have already tried skewing the image, but Ive only been able to get it so that the height of both the left side and right side are the same.
Whereas I need the left side to be shorter so it appears further away. Does anyone know how to do this?
Oct 10, 2007 11:44 AM|CurtWRC|LINK
I'm looking for something like this:
But i need it to be in VB and the output to be a bitmap so I can use the code in my current file.
Oct 11, 2007 02:01 AM|Ryoushin|LINK
Here's the code provided in VB.Net:
Just one thing: the procedure misses some recent features, like bilinear interpolation, but it should accomplish the task.
Hope it helps...
Oct 11, 2007 04:49 AM|CurtWRC|LINK
Thanks Ryoushin, thats really helped!
Oct 11, 2007 06:29 AM|CurtWRC|LINK
Ryoushin, you mentioned that bilinear interpolation isn't included. I'm trying to increase the quality. I'm currently using this:
g.InterpolationMode = InterpolationMode.HighQualityBicubic
But it doesnt seem to be helping. Any ideas would be most appreciated.
Oct 30, 2007 06:59 AM|Ryoushin|LINK
I've posted a couple of enhancements provided by contributors... they're pretty interesting (I think)...
(sorry: they're both written in C#)
Nov 02, 2007 05:38 AM|CurtWRC|LINK
Thanks Ryoushin. Is there a VB version of Luke's .cs file? Ive tried converting it but I get this error:
BC30311: Value of type 'System.Drawing.Point' cannot be converted to 'System.Drawing.PointF'.
Nov 02, 2007 07:51 AM|Ryoushin|LINK
If you use CType function instead of DirectCast that would work (just presuming the code you're trying to run)...
...anyway, I translated it by myself and merged into the .zip file already available on my blog (link above).
Hope it helps.
Nov 02, 2007 10:49 AM|CurtWRC|LINK
Thanks for your quick response and for uploading a VB version!
Ive put the VB version in place and I'm getting this error:
Nullable object must have a value.
Does this mean anything to you?
Mar 27, 2013 08:10 PM|Avintrue|LINK
Hey, the link seems to be broken. I am interested in finding this code. Is there any way I could get a repost of this or a PM? Thanks!