06-30-2022 08:41
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-30-2022 08:41
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hey guys,
Any suggestions on how to speed up the Image File Transfer process to display an image to the watch? Here is what I have on my companion app code:
function compressAndTransferImage(imageToTransfer) {
Image.from(JSON.parse(imageToTransfer).imageUri).then(image => image.export("image/jpeg")).then(buffer => outbox.enqueue(`${Date.now()}.jpg`, buffer));
}
I thought about reducing the quality as shown in the sample code, however I feel it make the image look not that good on the watch, but if that helps to make it slightly faster then I will do it.
Answered! Go to the Best Answer.

Accepted Solutions
06-30-2022 14:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


06-30-2022 14:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Reducing quality is your only option, I think (assuming you're not sending larger images than needed). The watch only displays 16-bit colour and has fairly high DPI, so compression artefacts aren't very obvious.
Gondwana Software
06-30-2022 14:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


06-30-2022 14:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Reducing quality is your only option, I think (assuming you're not sending larger images than needed). The watch only displays 16-bit colour and has fairly high DPI, so compression artefacts aren't very obvious.
Gondwana Software
07-02-2022 06:05
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-02-2022 06:05
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thanks Gondwana, wish it was faster... hopefully we get improvements for that on the next SDK.

07-02-2022 06:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-02-2022 06:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi Gondwana, I noticed that an ImagePicker folder is created when using the ImagePicker on the companion App, at least I can see that on Android, is there a way to delete that folder after selecting an image? I know it is an empty folder, but still I don't want to generate "trash" to the user's phone.

