Facebook will also use Spectrum for photos

0

Facebook has been using Spectrum technology for a long time. Until now, the option was limited to the application inside. Now, however, it will be extended to new elements, i.e. photos. As you know, now the photos are of much higher quality and throwing them can be problematic. However, Spectrum technology has to fix it.

Leaked Documents Show How Facebook Controls Speech

Spectrum is an image processing library for Android and iOS. This is to increase the reliability of sending images, while making them less demanding in their subscription. Facebook has been using this option for some time, but not with pictures. Now it will change. Here you can also read: the new Messenger is still not available, but Facebook is testing the dark mode.

Facebook already uses Spectrum in mobile applications. The library is basically a service point for performing tasks related to image manipulation. This is necessary to reduce file sizes and increase reliability. The list of options is cropping, resizing and transcoding. Spectrum due to this is particularly interesting, it does not require programmers to manually define all behaviors.

Facebook open-sources Spectrum 1.0.0 for better mobile image production

As modern smartphones capture high-resolution images, the large file size makes uploads unreliable on some mobile networks. Sending it at full resolution is often wasteful, as the content delivery network (CDN) will resize the image for the recipient anyway.

Spectrum works on the Facebook application by naming the recipes attached to the plug-ins

The function uses something called recipes. They are included in the plugins used by the library and sorted by Facebook to give the most efficient priority. For example, a JPEG plugin contains several recipes designed specifically for processing JPEG images. Facebook recently presented the mentioned technology at the Droidcon SF conference. The library can be downloaded today from the GitHub website. The newest option on Facebook is especially useful for inserting and compressing photos from phones that already have 48-megapixel cameras. Such devices are coming, so the Zuckerberg company decided to remedy this problem.

Read also: Facebook’s new feature: you will be able to post pre-recorded videos as if they’re live.

Via code
You might also like

Leave A Reply

Your email address will not be published.