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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

“PSD is not a good format”

119 点作者 ohmygeek超过 10 年前

12 条评论

Doctor_Fegg超过 10 年前
Famous riposte by John Nack of Adobe: <a href="http://blogs.adobe.com/jnack/2009/05/some_thoughts_about_the_psd_format.html" rel="nofollow">http:&#x2F;&#x2F;blogs.adobe.com&#x2F;jnack&#x2F;2009&#x2F;05&#x2F;some_thoughts_about_the...</a><p>One quote worth picking out: &quot;Wouldn’t it be better if all apps could read&#x2F;write just one common interchange format? That’s just what Adobe is developing with FXG.&quot; Come 2015, and FXG appears to be dead and buried.
评论 #8831845 未加载
评论 #8832013 未加载
评论 #8831613 未加载
dang超过 10 年前
<a href="https://news.ycombinator.com/item?id=6410821" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=6410821</a><p><a href="https://news.ycombinator.com/item?id=575122" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=575122</a><p>and sundry others: <a href="https://hn.algolia.com/?q=psd#!/story/forever/0/psd%20format" rel="nofollow">https:&#x2F;&#x2F;hn.algolia.com&#x2F;?q=psd#!&#x2F;story&#x2F;forever&#x2F;0&#x2F;psd%20format</a>
评论 #8831439 未加载
kylec超过 10 年前
Was PSD designed to be a portable format? My understanding is that it was only meant to be used directly by Adobe Photoshop, much like the original DOC was meant to be used only by Microsoft Word. As such, it&#x27;s a little unfair to call it out as a bad format because it was never meant to be reverse engineered and reimplemented.
评论 #8831679 未加载
评论 #8831565 未加载
评论 #8831507 未加载
300bps超过 10 年前
Looks like a typical rant from a junior developer. More experienced developers realize why decades-old file formats are they way they are and when needing to work with them, adapt themselves to it.
评论 #8831457 未加载
评论 #8832852 未加载
kabdib超过 10 年前
Mwahaha. Kiddie stuff. Go try and read RTF some time. Try to convert it to HTML. Try to figure out how to extract <i>tables</i>. Oh, bugger.<p>The best I can say about that experience is (a) I learned a lot about how legacy file formats grow, especially when they are supposed to be &quot;open&quot; but are really treated as proprietary ground for developers to stomp all over in metal-soled booties, and (b) the company that paid me to do that work is long, long out of business. The misery is long past.
评论 #8831631 未加载
评论 #8831556 未加载
JabavuAdams超过 10 年前
Meh. It&#x27;s old and complicated.<p>I wrote a PSD dumper in 2013 so our artists could use Photoshop as a level editor. Interestingly, the Photoshop Javascript automation engine is so slow, that it was faster to parse the file in Python. Like a minutes-long export using Javascript in Photoshop took a second or so when dumping with Python for a file with 100 layers.
jmartinpetersen超过 10 年前
The code (and comment) is five years old. Any updates on how the PSD format has changed (if at all) since then?<p>Also, the title used here isn&#x27;t actually a quote from the link. I&#x27;d opt for the closing sentence &quot;PSD is not my favourite file format&quot; instead ...
评论 #8831665 未加载
评论 #8831350 未加载
评论 #8831396 未加载
bluedino超过 10 年前
Is it anything like Microsoft Word where the PSD file is basically a dump of what Photoshop uses to represent the document in RAM? Could cause for some interesting differences between files created on a Macintosh vs Windows.
评论 #8832775 未加载
Theodores超过 10 年前
Is this problem being solved the best way? Is it not possible to build a plugin for Photoshop that exports an interim format, something where there are things like layers with text elements in something CSS friendly so that those people with familiarity with things like imagemagick can automate what they need doing in some sensible way? This need be a one-way export so those of us that have to do something with other people&#x27;s Photoshop files can just get on with it. The import of the interim format (to Photoshop) need not be necessary for many workflows.
评论 #8831714 未加载
userbinator超过 10 年前
&gt; Why, for instance, did it suddenly decide that <i>these</i> particular chunks should be aligned to four bytes, and that this alignement should <i>not</i> be included in the size? Other chunks in other places are either unaligned, or aligned with the alignment included in the size.<p>This sounds like a spec that grew organically, with multiple people contributing to it over the years; the alignment might&#x27;ve come from PowerPC&#x2F;68k-based Macs, as also evidenced by the use of big-endianness throughout.
wging超过 10 年前
Previously: <a href="https://news.ycombinator.com/item?id=8831172" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8831172</a><p>And previously: <a href="https://news.ycombinator.com/item?id=4746787" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=4746787</a>
woodchuck64超过 10 年前
“Most are the gradual result of discovering better ways to do things over 20 years, while staying compatible with older applications.” (PSD apologist Tim Wright)<p>There is no force more destructive.
评论 #8831363 未加载