开发者

JAI FileLoad/FileStore Operations vs JAI ImageRead/ImageWrite Operations. Differences?

What are the differences between JAI's FileLoad/FileStore operations and its ImageRead/ImageWrite operations?

Is one set better than the other in an开发者_StackOverflow社区y way? Which ones should be used as a default?


FileLoad is the operation used in JAI Image I/O to "load" images, while ImageRead is the operation used in JAI to "read" images, using Java Image I/O Framework.

The first one requires JAI plus the Image I/O that provides more codecs, like JPEG 12bit.

The seconds one requires JAI only, as the codecs used are the provided with Java platorm.

For most cases, the second one is simple and supports for many popular formats (JPEG, GIF, PNG...), you can use also in applets with 100% pure Java implementation (software) of take advantage of native acceleration.

There are plenty of options, but I recommend the second one.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜