I created a program and I used the framework assist to make the file smaller.
release mode without framework assist I get 1.23MB
release mode with framewor assist I get 1.22MB
then I tried also with debug
debug mode without framework assist I get 2.46MB
debug mode with Framework assist I get 851KB
why is debug mode with framework assist smaller
than release mode with framework assist? it doesn't make sence to me.
this is the program I am testing it on:
it assumes the TTF font is in the standard windows dir.
release mode without framework assist I get 1.23MB
release mode with framewor assist I get 1.22MB
then I tried also with debug
debug mode without framework assist I get 2.46MB
debug mode with Framework assist I get 851KB
why is debug mode with framework assist smaller
than release mode with framework assist? it doesn't make sence to me.
this is the program I am testing it on:
Strict Framework BRL.GLMax2D Import BRL.FreeTypeFont Import BRL.PNGLoader SetGraphicsDriver GLMax2DDriver() Graphics 800,600 SetBlend(alphablend) Local size:Int = 32 Local r:Timagefont = LoadImageFont("c:\windows\fonts\cour.TTF",size) If r = Null Notify "windows font not found";End SetImageFont(r) For Local y:Int = 0 Until 16 For Local x:Int = 0 Until 16 DrawText Chr(y*16+x),x*size,y*size Next Next Local pixmap:TPixmap = GrabPixmap(0,size*2+9,512,512) If SavePixmapPNG(pixmap,"mypng.png") Notify "ok mypng.png file created" Cls DrawPixmap(pixmap,30,30) SetAlpha .2 DrawRect(30,30,512,512) SetAlpha 1.0 DrawText "press a key to continue",200,550 Flip() WaitKey()
it assumes the TTF font is in the standard windows dir.