TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

JPEGs with Alpha Channels?

7 点作者 ggasp超过 14 年前

1 comment

ggchappell超过 14 年前
Nice little trick. And pretty useful, too, I imagine.<p>I suppose the reason JPEG files don't allow for transparency information is that the DCT would mess it up? (I'm imagining little waves of semi-opaqueness appearing just outside the boundary of an opaque portion of an image. And little waves of semi-transparency appearing just inside. Ick.)<p>Of course, there's no law that says JPEG formats have to use the DCT for absolutely <i>everything</i>. Heck, [ordinary JPEG + PNG mask] probably wouldn't be a bad file format. Now if we could just get people to start supporting it ....