elixir_poster
elixir_poster copied to clipboard
Where u able to repliacte with any other picture than the elixir one?
Hey there playing around with this little tool and it works fine with the provided elixir png. Tried a couple of other images just for the fun but all of them have the text offset and overlapping. I made them in correct size and scaling as described. Also the color is just always blue. As said the elixir example works perfectly, so everything seems to be setup corret.
Could it be that the exif information are needed in a certain way so Imagineer can loads the image correct? While saving the png with gimp I recognized that there are basically no metadata information but the elixir example has quite a lot.
Here is and example png that I tried.

Any idea or hints?
Very weird. I'm not sure what's wrong with the image, but I used Photoshop to save it as a non-interlaced RGB 8bit PNG, and it seems to be working for me:

I'm not sure what's wrong with your image. Maybe it's a bug with Imagineer?
Mhm will see if i can dig deeper into the problem on the weekend. The offset overlapping letters and blue colors happens for all my pngs that I created with gimp. So I guess it must be something with the metainformation. Hopefully I can get photoshop up and running to test differences.
thanks for your reply
Just FYI came closer to the problem.
In case of using my image the https://github.com/pcorey/elixir_poster/blob/master/lib/elixir_poster.ex#L74 pixel tuple has 4 values. The last one is the alpha. This then gets through to_hex/4 instead of to_hex/3 and this returns an invalid hex color with 8 digest after the hashtag. For testing purpose I just removed https://github.com/pcorey/elixir_poster/blob/master/lib/elixir_poster.ex#L29 and the hex color codes are correct and get processed correct and the final image looks fine.
I'm curious how this thing got tested oO https://github.com/pcorey/elixir_poster/pull/1