View Single Post
Old 03-12-2023, 06:19 PM   #11
superpomme
Enthusiast
superpomme rocks like Gibraltar!superpomme rocks like Gibraltar!superpomme rocks like Gibraltar!superpomme rocks like Gibraltar!superpomme rocks like Gibraltar!superpomme rocks like Gibraltar!superpomme rocks like Gibraltar!superpomme rocks like Gibraltar!superpomme rocks like Gibraltar!superpomme rocks like Gibraltar!superpomme rocks like Gibraltar!
 
Posts: 42
Karma: 100218
Join Date: May 2021
Device: kobo touch, k3, k4, Nook Simple touch
Cool thank you both for your advice

I went ahead last night and created an api that does it. Hopefully that is secure enough, but I'm just running that locally at the moment, but can run on a vps. Unfortunately their api just doesn't give the option to return a jpg/png. So frustratingly close heh, but the conversion using mine is quick enough.

I am going to make a video today when I can clear my desk, but here is my progress with it:
https://github.com/diggedypomme/Kindlefusion

I added a gallery for past saved images as well as the ability to manually search terms on stable diffusion and grab images from Unsplash. I have some pictures down at the bottom of the github


As for the compilation:

This is the copy from the colab that got a compile to work (but the outcome which wouldn't run) , but as you mention, I think I must have misunderstool the steps, and so this must be doing it in x64 as you say:

--------------


!wget https://storage.googleapis.com/downl...p-1.3.0.tar.gz

!tar -xvzf libwebp-1.3.0.tar.gz

!cd libwebp-1.3.0
!./configure --host=arm-kindle5-linux-gnueabi --prefix=/opt/arm-kindle5-linux-gnueabi_bcf9e45/sysroot/usr

!tar -xf arm-kindle5-linux-gnueabi_bcf9e45.tar.xz

!./configure --host=arm-kindle5-linux-gnueabi --prefix=$PWD/install

!cd libwebp-1.3.0
!/content/libwebp-1.3.0/configure --host=arm-kindle5-linux-gnueabi --prefix=$PWD/install

!make

!make install

!find / |grep dwebp

!zip -r /content/file.zip /content/install/

!ls /content/install/

from google.colab import files
files.download("/content/file.zip")

Last edited by superpomme; 03-12-2023 at 06:23 PM.
superpomme is offline   Reply With Quote