hzeller / rpi-matrix-pixelpusher

PixelPusher protocol for LED matrix.
GNU General Public License v3.0
174 stars 30 forks source link

Mirrored Image #12

Closed snap2222 closed 7 years ago

snap2222 commented 8 years ago

Hi Henner, I have my display working great except the image is mirrored. Is there a solution?

Thanks.

hzeller commented 8 years ago

You could write a transformer and hook it into the transformer chain or simply modify the call to SetPixel() with the appropriate math (e.g. if it is mirrored in X direction, then you would say SetPixel(draw_canvas->width() - x, ...)

In both cases you need small modifications in the source.

snap2222 commented 8 years ago

May be beyond my ability, but I will certainly give it a try! Damon

----- Original Message -----

From: "Henner Zeller" notifications@github.com To: "hzeller/rpi-matrix-pixelpusher" rpi-matrix-pixelpusher@noreply.github.com Cc: "snap2222" snap2@telus.net, "Author" author@noreply.github.com Sent: Sunday, August 28, 2016 11:07:53 PM Subject: Re: [hzeller/rpi-matrix-pixelpusher] Mirrored Image (#12)

You could write a transformer and hook it into the transformer chain or simply modify the call to SetPixel() with the appropriate math (e.g. if it is mirrored in X direction, then you would say SetPixel(draw_canvas->width() - x, ...)

In both cases you need small modifications in the source.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub , or mute the thread .