Re: [問題] 如何把.bmp檔讀取後存成array
※ 引述《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
推
10/21 15:07, , 1F
10/21 15:07, 1F
→
10/21 15:08, , 2F
10/21 15:08, 2F
推
10/21 19:51, , 3F
10/21 19:51, 3F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 3 之 3 篇):