-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flash stream example producing messed color results #34
Comments
Have a look at #32 Also be sure that your image file has the exact resolution. |
@barbiani I tried applying this pr after I saw it - it didn't change anything. As for resolution of images, I have 2 screens as I said - one is small 7'', and I believe its maximum resolution is 1024x600, which is not exist as replacement for So I'm not sure what should I do at this point. |
Make the image size exactly 640x480.
…On Thu, Dec 8, 2022, 11:38 sandric ***@***.***> wrote:
@barbiani <https://github.com/barbiani> I tried applying this pr after I
saw it - it didn't change anything. As for resolution of images, I have 2
screens as I said - one is small 7'', and I believe its maximum resolution
is 1024x600, which is not exist as replacement for #define VGA_MODE
vga_mode_640x480_60 line. There is closer vga_mode_tft_800x480_50 mode -
but I got the same compilation issue as described here
<#30>. I tried to
prevail the same aspect ratio by making images 640x375 pixels - but they
just appeared cut, but same bug with wrong colors prevailed.
So I'm not sure what should I do at this point.
—
Reply to this email directly, view it on GitHub
<#34 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABYLTJGFEEWG6OFIBNN4463WMHXHPANCNFSM6AAAAAASRCWHLE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@barbiani all images in |
Ok, I finally found the error - I simply connected all DAC resistors upside down, so that 500 Ohm was gpio0, etc.. Sorry, issue resolved. |
I'm new to pico and failing to understand why I'm getting messed up image rendering with
flash_stream
example in scanline directory. Steps to reproduce screenshots I get:./pack.sh
inimg
directory - it will produce 3 bin files andcat
them into onepack.bin
sudo picotool load pack.bin -o 1003c000
to uploadpack.bin
into pico. The original command usesuf2conv -f pico -b 0x1003c000 pack.bin -o pack.uf2
- but I don't know whatuf2conv
is and where to find it, so as this person on raspberry forum, and I took his suggested command with picotool - uf2conv threadflash_stream.uf2
and drag it into pico folder with file managerHaving done those I see such strange result, I know little about image processing and what exactly wrong with those:
![IMG_20221201_200548](https://user-images.githubusercontent.com/966443/205130919-6360f808-74fb-4c52-9bdc-7c3e5d97001a.jpg)
![IMG_20221201_200552](https://user-images.githubusercontent.com/966443/205130928-0961baca-18fe-45ca-9de9-f79ca22ce737.jpg)
I tried this on two different monitors, one big 24 inch monitor, and one small 7 inch 40 pin ttl monitor through the scaler - the result is equal.
Running
demo1
example with floating raspberry on a blue background works without any issue, so I doubt its a wiring problem.I also tried to change packing command a bit - e.g. changing format and removing
d
in./packtiles -sdf bgar5515 Voss_by_fortuneblues.png voss.bin
, it changes some things but colors are still messed.The text was updated successfully, but these errors were encountered: