Re: [問題] 如何把.bmp檔讀取後存成array

看板java作者 (我是聖棋請多指教)時間18年前 (2007/10/21 14:48), 編輯推噓2(201)
留言3則, 2人參與, 最新討論串3/3 (看更多)
※ 引述《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
RenderedImage 被 BufferedImage 實作
10/21 15:07, 1F

10/21 15:08, , 2F
FormatName 放 "bmp" 試試看
10/21 15:08, 2F

10/21 19:51, , 3F
PNG 萬能... XD
10/21 19:51, 3F
文章代碼(AID): #176lPI81 (java)
文章代碼(AID): #176lPI81 (java)