Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ImageAnim issue LP
#1
Hello,
I try do a image animation with several BPM files,
When I run my script in the virtualizer, all is OK but when I run it on my LP8806 16x10 Matrix, all the black pixel become white.
I check c_order and it seems good because all the other animation gives good color with same parameters

driver = DriverLPD8806(numLeds, c_order = ChannelOrder.BRG, SPISpeed = 2)

Any idea
Thanks

Same issue with animated GIF.
#2
Can you send your script?
Also, what are the dimensions of your image files?
Maybe attach one or more of the files? I've seen that happen when the opacity is set wrong on the image file, but bmp doesn't have opacity...
#3
Photo 
(03-18-2016, 02:12 PM)Adam Wrote: Can you send your script?
Also, what are the dimensions of your image files?
Maybe attach one or more of the files? I've seen that happen when the opacity is set wrong on the image file, but bmp doesn't have opacity...
Dear Adam here is the small script and one of the BMP file.
My Matrix is 16 x 10

Thx


Code:
#import base classes and driver
from bibliopixel import *
# from bibliopixel.drivers.visualizer import DriverVisualizer

from bibliopixel.drivers.LPD8806 import *

from BiblioPixelAnimations.matrix.ImageAnim import ImageAnim


#driver = DriverVisualizer(width=16, height=10, stayTop=True)

numLeds = 160
driver = DriverLPD8806(numLeds, c_order = ChannelOrder.BRG)
led = LEDMatrix(driver,width =16, height = 10)


anim = ImageAnim(led,"./anim/",bgcolor=colors.Black, brightness=155)
anim.run(fps=5)
# ```


Attached Files
.bmp   001.bmp (Size: 536 bytes / Downloads: 5)
.bmp   002.bmp (Size: 536 bytes / Downloads: 2)
#4
Unfortunately, I don't see anything wrong here.
It's weird that other animations work fine for you... which leads me to believe it's a problem with the reading of the bitmap image.
I assume this is running on a Raspberry Pi?
3 things...
run "pip install bibliopixel --upgrade" to get the latest
run "pip install spidev --upgrade" to get the latest of that
run "pip freeze" and send me the output.
You may need to uninstall and reinstall PIL/Pillow... since other animations work, and PIL/Pillow is what reads the image, that's all I can think it would be.


Forum Jump:


Users browsing this thread: 1 Guest(s)