airmessage-server icon indicating copy to clipboard operation
airmessage-server copied to clipboard

TIFF Image Support

Open itmmckernan opened this issue 3 years ago • 5 comments

Most web browsers besides safari don't support TIFF images. The images could be converted to PNGs on the server or the client using a library like UTIF.js. Steps to Reproduce:

  1. Send or Receive TIFF
  2. Open airmessage web in browser that doesn't support TIFF images (Tested in Edge, Chrome & Firefox should be similar)
  3. Download images to client
  4. Black boxes instead of the images

itmmckernan avatar Apr 29 '22 16:04 itmmckernan

AirMessage Server will automatically convert downloaded .heic files, but unlike .tiff, .heic is commonly exchanged by iMessage users as it's one of the native image formats on iOS. Another consideration is that .tiff is not supported on Android either.

Is this an issue you find yourself running into often?

tagavari avatar May 01 '22 16:05 tagavari

Not super often, but enough to be a minor annoyance. It primarily happens when a mac user pastes a screenshot into iMessage.

itmmckernan avatar May 01 '22 18:05 itmmckernan

HEIC files just show blank after downloading. Maybe there needs to be an option to download instead of preview?

larsdennert avatar May 06 '22 20:05 larsdennert

In what cases will macOS produce a .tiff file? macOS 12.4 saves screenshots as .png

tagavari avatar Jul 01 '22 14:07 tagavari

I tend to copy images/memes to friends from various sources via iMessage and only the .tiff images will fail to load.

nikp79 avatar Oct 25 '22 02:10 nikp79