TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Spectrum – Image transcoding library for Android or iOS

130 pointsby markoaover 6 years ago

12 comments

dubyajaysmithover 6 years ago
Figured this is worth a note here: Squoosh is an image compression web app that allows you to dive into the advanced options provided by various image compressors. <a href="https:&#x2F;&#x2F;github.com&#x2F;GoogleChromeLabs&#x2F;squoosh" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;GoogleChromeLabs&#x2F;squoosh</a>
MikeCaponeover 6 years ago
Looks interesting, though on recent iOS devices, images will be in HEIF format, which is about 50% the size of JPEG at similar quality, and MozJPEG isn&#x27;t compatible with it afaik.<p>If you&#x27;re interested in compressing JPEGs without quality loss, there&#x27;s a free Mac app called ImageOptim that can handle JPEG, GIF and PNG. It has Google&#x27;s Guetlzi, so on some JPEG you can reach 20-40% compression without any loss of quality that I could detect (and sometimes lower levels around 10% on images that are already well compressed or smaller resolution).<p><a href="https:&#x2F;&#x2F;imageoptim.com&#x2F;mac" rel="nofollow">https:&#x2F;&#x2F;imageoptim.com&#x2F;mac</a>
评论 #18932134 未加载
fareeshover 6 years ago
Is there a site which tracks the use of such libraries across popular apps, similar to builtwith?
评论 #18931381 未加载
评论 #18932390 未加载
moneil971over 6 years ago
More detail about the open source here: <a href="https:&#x2F;&#x2F;code.fb.com&#x2F;developer-tools&#x2F;spectrum&#x2F;" rel="nofollow">https:&#x2F;&#x2F;code.fb.com&#x2F;developer-tools&#x2F;spectrum&#x2F;</a>
stigiover 6 years ago
It&#x27;s interesting to see no iOS example code in Swift.<p>I know that the Swift adoption rate at Facebook is low for certain reasons, but I was hoping it would go up, or at least be of concern for open sourced projects.
评论 #18931140 未加载
评论 #18931281 未加载
priitmaxxover 6 years ago
Nice. Anyone have experience using this?
codecrusadeover 6 years ago
Is there integration with React Native?
tsouhaiebover 6 years ago
Good thing
Dork1234over 6 years ago
Facebook has the worst image compression on any website, their photos are compressed to a point where they look horrible. Why would anyone want to use this?<p>I do not see what this benefits any developer over just using mozjpeg with better settings.
评论 #18930874 未加载
评论 #18930772 未加载
duiker101over 6 years ago
I like how there are 2 products called Spectrum on the front page and they are completely unrelated. Anyway, this lib looks pretty ok for it&#x27;s purpose.
评论 #18930986 未加载
评论 #18930676 未加载
评论 #18936181 未加载
评论 #18933731 未加载
nyuszika7hover 6 years ago
The title should say &quot;Android and iOS&quot; rather than &quot;Android or iOS&quot;, it makes more sense that way.
njnover 6 years ago
I&#x27;m going to make a similar library called Verizon.