Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Encoded data too large error

Hello,

 

I thought this was covered somewhere, but I can't find it.

 

I am trying to incorporate the image picker into my clock face.  When I run it, I get:

 

companion-runtime:/bootstrap.js:1,1090[5:21:19 PM]Uncaught non-error: RangeError: Encoded data too large: 152436 bytes

 

in the console log.  The picture does not appear to complete the transfer and load.  Everything else works.  How do I get the image to move without over-sizing?  I seem to remember reading about this somewhere, but I can't find it now.

 

Thanks.

Best Answer
0 Votes
2 REPLIES 2

Use file transfer rather than messaging, if you're not already.

 

Send a JPG, compressed as need be.

 

Ensure image size is set in companion/settings to match what you need on the watch.

Peter McLennan
Gondwana Software
Best Answer
0 Votes

Thank you for the feedback.  I am already trying to do that.  The problem seems to be occurring when I try and combine the send file (like in the fitbit example of sending an image) and sending a standard setting (like a font color).  Is there a trick or limitation in combining the two?

 

Thanks again.

Best Answer