作者shiengchyi (我是圣棋请多指教)
站内java
标题Re: [问题] 如何把.bmp档读取後存成array
时间Sun Oct 21 14:48:47 2007
※ 引述《H45 (!H45)》之铭言:
: 把以下东西做排列组合:
: ImageIO.read(FILE);
: BufferedImage.getRGB(x, y);
: BufferedImage.setRGB(x, y, RGB);
先感谢大大,读档并且做设定的部分已经了解了...
: ImageIO.write(BufferedImage, Format, File);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
这个跟API上面的资料不一样...>"<
API上写的是 write (RenderedImage, FormatName, File)
^^^^^^^^^^^^^ <-另一个很玄的东西~"~
是interface...
还有,API上面解释FormatName--a String containg the informal name of the format.
我....看不懂~T^T
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.112.90.113
1F:推 H45:RenderedImage 被 BufferedImage 实作 10/21 15:07
2F:→ H45:FormatName 放 "bmp" 试试看 10/21 15:08
3F:推 PsMonkey:PNG 万能... XD 10/21 19:51