Creating trapezoid image calling from Python
$100-500 USD
Paid on delivery
Hello there I need a fast graphical routine written in (C/C++) that is callable out of Python (import this_routine...). This routine would receive a surface (png-image out of Pygame ([url removed, login to view]) that needs to be streched to a trapezoid and returns the new image. This routine needs also the 4 x-coordinates of the trapezoid corners). The call of this routine with convenient parameters would look like this then: import trapecoid_func trapecoid_func (surface, upper_left_x, upper_right_x, lower_left_x, lower_right_x) I only need to stretch/compress the x-coordinates of the corners. So that way the upper and lower side always keeps parallel at same distance. I added a Powerpoint presentation with examples for better understanding. The proportions in the examples are not correct, just some draft examples. For sure I have the following requirements for this functions: If there is an easier way of the described parameters, Im up for it.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
- Needs to be fast for this transfomation because the trapezoids are used several times for a single image
- Importable (as module/package) and callable from Python (dont ask me what is needed for to make that possible but in general Python is strong in working together with C/C++ routines).
- The image needs to be stretched/compressed depending on x-coordinates parameters
- I need a compiled version on Mac, Windows and Linux
2) Deliverables must be in ready-to-run condition, as follows? (depending on the nature? of the deliverables):
- The function/package will be delivered in form to be able to import it into pyhton as package/module
## Platform
OSX, Windows, Linux (importable to installed Python 2.x)
Project ID: #3183887