Xojo Conferences
XDCMay2019MiamiUSA

[MBS] Advice on drawing rotated video images (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] [ANN] 13.0pr9
Next thread: [MBS] Cocoa plugins?


Re: [MBS] [ANN] Changes in REAL Studio Project Format   -   Garth Hjelte
  [MBS] Advice on drawing rotated video images   -   William Koperwhats
   Re: [MBS] Advice on drawing rotated video images   -   Christian Schmitz

[MBS] Advice on drawing rotated video images
Date: 30.01.13 01:27 (Tue, 29 Jan 2013 16:27:31 -0800)
From: William Koperwhats
Christian (et. al.),

In my real-time video camera control application I would like to add the ability for the user to *rotate* the live video image in the preview canvas. The live rotation is working (mostly), but I have run into a slight snag (described below) and was hoping that you and others could offer suggestions. Here's the problem that I'm seeing:

* The incoming image is a standard 640x480 pixel NTSC (or PAL) video image
* The rotation works as expected and produces a rotated rectangular picture with a black background
* I use TrimMBS to extract the central 640x480 pixel section for display
* As long as the rotation stays below +/- 73 degrees or so everything is fine, above that the "rotated" image becomes narrower than 640 pixels.

Is there a *fast* method to center and overlay a <640 x 480 pixel image on *top* of a black 640x480 rectangle?

Cheers.

-bill k
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] Advice on drawing rotated video images
Date: 30.01.13 15:39 (Wed, 30 Jan 2013 15:39:57 +0100)
From: Christian Schmitz

Am 30.01.2013 um 01:27 schrieb William Koperwhats <<email address removed>>:

> Christian (et. al.),
>
> In my real-time video camera control application I would like to add the ability for the user to *rotate* the live video image in the preview canvas.

Mac? Win? Linux?

Greetings
Christian