Re: How to rotate an bitmap / image
Tim Roberts <[email protected]> Mon, 5 Jul 2021 20:25:38 -0700
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <[email protected]> |
On 7/4/21 9:40 PM, Phil wrote: > > I have a jpeg image that I'd like to rotate about it's bottom centre > point. I'm going to focus on this for a moment, rather than the more important questions you asked. If you rotate an image 90 degrees around it's bottom center point, 3/4 of the image will be outside the bounding box. In ASCII art: +---+---+ | A | B | +---+---+ | C | D | +---+---+ Now, let's rotate 90 degrees clockwise about the bottom center (pretend the letters are rotated, too): +---+---+ | | + +---+ | | C | A +---+---+ D B See what I mean? Are you sure you don't want to rotate around the center? -- Tim Roberts, [email protected] Providenza & Boekelheide, Inc. -- You received this message because you are subscribed to the Google Groups "wxPython-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/48ab5e9f-14c5-7b25-671a-faf5cdbc86a7%40probo.com.