Hello: Does anyone know of an external that would allow me to set the 4 rect points of a graphic (imported raster image) to any value, then adjust the image accordingly? (ie: to add perspective to a square photo)
Thanks,
Greg K
distorting photos
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 349
- Joined: Tue Oct 28, 2008 1:23 am
- Contact:
Re: distorting photos
Hi Greg,
You might use ImageMagick.
Kind regards,
Mark
You might use ImageMagick.
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 349
- Joined: Tue Oct 28, 2008 1:23 am
- Contact:
Re: distorting photos
Thanks Mark: I checked it out - looks like it would work with the Shell command. I think it would be too slow in applying effects to the images. I would need to convert at least 20 frames per second.
Greg
Greg
Re: distorting photos
Why, Greg? Can't you just use a wireframe to display the extent of the distortion and draw the new image only when the user releases the mouse?
Mark
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 349
- Joined: Tue Oct 28, 2008 1:23 am
- Contact:
Re: distorting photos
Hi Mark: no, I need to process the image distortion on the fly. I'm trying to design a stereographic viewer - where the user would view and interact with a collection of rectangular images in 3D space. As the images are being moved, and re-sized, and as the user makes changes to his/her perspective, the polygons that define the rect of each image, need to change dynamically, and the images contained in the polygons, would also need to distort dynamically. It looks like this external from Obleo could work. Not sure if it will do this distort, or how fast.
http://www.obleoproductions.com/page3/p ... age21.html
http://www.obleoproductions.com/page3/p ... age21.html