Baileys icon indicating copy to clipboard operation
Baileys copied to clipboard

Input file contains unsupported image format

Open AxeemHaider opened this issue 2 years ago • 2 comments

Describe the bug I'm getting this error when I try to send image with Buffer

"class":"baileys","trace":"Error: Input file contains unsupported image format","msg":"failed to obtain extra info"}

To Reproduce Steps to reproduce the behavior:

// mediaType = "image"
const mediaBuffer: Buffer = content[mediaType];
this.connection?.wa.sendMessage(
      jid,
      { [mediaType]: mediaBuffer }
);

AxeemHaider avatar Jul 29 '22 03:07 AxeemHaider

ur problem solved bro ?

thisfardi avatar Aug 03 '22 19:08 thisfardi

no, I think this error is from third party lib which create thumbnail.

AxeemHaider avatar Aug 04 '22 05:08 AxeemHaider

This issue is stale because it has been open 6 days with no activity. Remove the stale label or comment or this will be closed in 2 days

github-actions[bot] avatar Aug 11 '22 03:08 github-actions[bot]