pixmap <--> image (noob frgae)
Übersicht

![]() |
beanage.johannesBetreff: pixmap <--> image (noob frgae) |
![]() Antworten mit Zitat ![]() |
---|---|---|
morgen.
ist es möglich pixmaps in images und andersrum zu konvertieren? ja oder? danke |
||
![]() |
Goodjee |
![]() Antworten mit Zitat ![]() |
---|---|---|
du kannst mit lockimage und unlockimage hinundherschalten, ich denke mal lockimage liefert dir eine pixmap die das image repräsentiert, und wenn du unlockst und die pixmap verändert hast ist das image auch verändert | ||
"Ideen sind keine Coladosen, man kann sie nicht recyclen"-Dr. House
http://deeebian.redio.de/ http://goodjee.redio.de/ |
![]() |
XeresModerator |
![]() Antworten mit Zitat ![]() |
---|---|---|
Prinzipiell - ja. | ||
Win10 Prof.(x64)/Ubuntu 16.04|CPU 4x3Ghz (Intel i5-4590S)|RAM 8 GB|GeForce GTX 960
Wie man Fragen richtig stellt || "Es geht nicht" || Video-Tutorial: Sinus & Cosinus THERE IS NO FAIR. THERE IS NO JUSTICE. THERE IS JUST ME. (Death, Discworld) |
![]() |
kog |
![]() Antworten mit Zitat ![]() |
---|---|---|
Ein TImage besteht aus einem Pixmap, ein Pixmap pro Frame:
Code: [AUSKLAPPEN] SuperStrict
Framework brl.glmax2d Import brl.pngloader Import brl.standardio Local img:TImage = LoadAnimImage("status.png" , 5 , 5 , 0 , 10) Local a:Int = img.frames.length Local i:Int , px:TPixmap Print "Frames: "+a For i = 0 Until a Print "Pixmap Frame #"+i px=img.pixmaps[i] Print "Size: " + px.width + "x" + px.width Next |
||
![]() |
beanage.johannesBetreff: :D |
![]() Antworten mit Zitat ![]() |
---|---|---|
danke | ||
Übersicht


Powered by phpBB © 2001 - 2006, phpBB Group