English 中文(简体)
Java 2D 油漆程序图书馆
原标题:Java 2D library for paint programs

我很难找到一个基于 Java 2D 的图书馆来开发油漆程序。

我发现所有图书馆似乎都是为了:

  • animation
  • graphing
  • games

(这个特定项目主要用于网络通讯和印刷漫画书。 )

我主要感兴趣的是一些东西,这些摘要将几乎太大而无法装入缓冲图像对象的图像输入 IO。

例如Adobes工具可能不会将整个 10MB (压缩的) 图像文件装入内存中 -- -- 一旦减压, 就会有太多的物理内存用于缓存图像( 特别是如果您同时打开十多个图像), 因此在这些应用程序中必须有一个框架来管理磁盘上的文件, 并仅缓冲当前相关的内存区域 。

  • I imagine it would at least have an Image subclass that works the same way as BufferedImage while abstracting away the fact that the image is coming and going from the file instead of memory.
  • An additional wrapper that allows me to zoom in on a rectangular area or zoom out and buffer up the scaled, visible portion (for display) would be extra nice.
  • A layering system with blending modes would be super-sweet, although I expect I ll have to build that myself.
问题回答

您是否尝试过查看StdDraw?? 它在其中得到了一些基本的绘图 。 < a href="http://www.google.com/url?sa=t&rct=j&qamp;esrc=s&surc=s& web&2&ved=0CFs=2&ved=0CFSQFAD&url=http://www.cs.princenton.edu/~rs/ tracks/LLRB/Java/Stddraw.java&ei=95K- T66BFISGsALF49kl&usg=AFQCNFKKZgB9CvKKKUKGSVgr060zmpg&sig2=G7JJMRHBA6pvNBdqtQ" refolfol=" StdDDDLaw 可以在这里下载下载。 < / a a a >





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签