Images

Creations

jicehel

NEW 5 years ago

It's for that that the convert tools is very usefull. It's make life easier  ;) but i let Steph ending respond as he make it very fine  ;)

Codnpix

5 years ago

It's for that that the convert tools is very usefull. It's make life easier  ;) but i let Steph ending respond as he make it very fine  ;)

Yes but the converter doesn't make any relation with a palette index, or does it ?

Omg, yes it does, I think I'm starting to understand while I'm typing my questions ^^

Codnpix

NEW 5 years ago

jicehel jicehel

It's for that that the convert tools is very usefull. It's make life easier  ;) but i let Steph ending respond as he make it very fine  ;)

Yes but the converter doesn't make any relation with a palette index, or does it ?

Omg, yes it does, I think I'm starting to understand while I'm typing my questions ^^

Steph

NEW 5 years ago

Codnpix Codnpix

Yes! That's exactly what it is :-)

Indeed, the process is laborious... so it is better to code a tool by yourself that does the job for you!

Unfortunately png-to-code is completely buggy and does not work at all for indexed images... and it does not return the linked palette... In addition, the transparent color is neither configurable nor correctly returned in the result array for RGB565 images...

When I have some time, I'll code one so it's available online... but I have so much to finish before...

Codnpix

5 years ago

Indeed, the process is laborious... so it is better to code a tool by yourself that does the job for you!

Okay ! Let's go to work then ^^... I'm going to try to do that, for myself at first and online if I get something good. Actually as part of my current web development training, I'm going to spend 3 month as a trainee with the Gamebuino team in St Etienne ! So maybe the development and improvement of that kinf of tool will be a part of my work (I actually think it precisely will, I just have to get technically able to do it ! Not a won in advance fight but I'm going to work on it..:) ).

Anyway, thank you for your help guys, I know where I'm going now :).

Codnpix

NEW 5 years ago

Steph Steph

Indeed, the process is laborious... so it is better to code a tool by yourself that does the job for you!

Okay ! Let's go to work then ^^... I'm going to try to do that, for myself at first and online if I get something good. Actually as part of my current web development training, I'm going to spend 3 month as a trainee with the Gamebuino team in St Etienne ! So maybe the development and improvement of that kinf of tool will be a part of my work (I actually think it precisely will, I just have to get technically able to do it ! Not a won in advance fight but I'm going to work on it..:) ).

Anyway, thank you for your help guys, I know where I'm going now :).

Steph

5 years ago

I couldn't resist :-)

I finally coded a new transcoder that correctly supports indexed color images. That way, you don't have to worry about it anymore... You will see that this time, the relationship with the palette is highlighted, since it is integrated in the generated code!

And then at the same time, I also added encoding support for gb.tft with high resolution which is a little special...

Steph

NEW 5 years ago

Codnpix Codnpix

I couldn't resist :-)

I finally coded a new transcoder that correctly supports indexed color images. That way, you don't have to worry about it anymore... You will see that this time, the relationship with the palette is highlighted, since it is integrated in the generated code!

And then at the same time, I also added encoding support for gb.tft with high resolution which is a little special...

Codnpix

5 years ago

Congratulations, this is really great ! I definitely could never have done this that fast that well (or not before the next decade ^^ !)

By curiosity, wich tech did you use to develop it ? PHP, Python , JS..? 

Thanks again for adding that great contrib to all you've already done.

Codnpix

NEW 5 years ago

Steph Steph

Congratulations, this is really great ! I definitely could never have done this that fast that well (or not before the next decade ^^ !)

By curiosity, wich tech did you use to develop it ? PHP, Python , JS..? 

Thanks again for adding that great contrib to all you've already done.

Steph

5 years ago

I coded this in JavaScript so there would be no exchange with a server. It's the browser's virtual machine working!

And I used the Jimp library to extract RGB pixels from the different image formats.

Steph

NEW 5 years ago

Codnpix Codnpix

I coded this in JavaScript so there would be no exchange with a server. It's the browser's virtual machine working!

And I used the Jimp library to extract RGB pixels from the different image formats.