| |
|
|
- Page 1 - |
|
 | Hi,
i'm thereby, in ProSpeed another further Grafikformat To implementieren. Jpg pack of course supergut, though can these Images not for Sprites use (graphic becomes at Save changed, therefore with Sprites often transparency-Problems). Gif pack too integrally well, functions but maximum only with 8-bit-Graphics. Wmf becomes yet yet little used. Bmp is quick, but gigantic (ungepacktes stature). Rle has code Packraten and hardly one Grafikprogramm uses it. Psf (ProSpeed-own stature) has no sonderliche good Packrate.
what missing is a Packformat, what The Grafikdaten not changed, but good Packraten produce can. from this reason Have I the Png-stature (portierbare networking-graphic) virtual.
here time Testwerte (Filesize in Bytes) for a 800 x 640 (24 bit) large Image with very many Grafikinformationen:
BMP: 1440054
GIF: -
JPG: 102972
PNG: 469946
PSF: 819011
TIF: 583100
TGA: 966378
PCX: 788412
goes means time of it from, the ProSpeed in the next Version too Png-Images loading can. Votes welcome...
Greeting, Frank |
|
|
| |
|
|
|
| |
|
- Page 1 - |
|
 | Hello Frank,
good idea ! becomes then too The Alpha-transparency of png-Images supported ? *hoff*
if so -> SPITZE !!!
Moritz |
|
|
| |
|
|
|
 | Hello Moritz,
Png bid Yes 256 Transparenzebenen through usage of Alphakanälen. what erhoffst You you because very ?
Greeting, Frank |
|
|
| |
|
|
|
 | >>Png bid Yes 256 Transparenzebenen through usage of Alphakanälen.
very the my I Yes ! or becomes one The PNG Images only in ProSpeed-Bitmaps loading can, then would The transparency Yes again mci ... perfect would it if The ProSpeed the PNG Image so copy watts How I it in the Malprogramm with transparency drawn have and these then too with the jeweiligen strength berücksichtigt would. then can so did i on a SemiTransMask function dispense 
Moritz |
|
|
| |
|
|
|
 | Hmmm, naturally generiert the Png-Decoder a Png-File a windows-Bitmap. the make any Decoder so... Alpha-transparency can later only at copy on the spending-HDC eingebunden go, by the Kopierfunktion (CopyExtBmp). Dummerweise Have I there none direct Grafikzugriff, but as ByteArray(CreateExtFX) could I a Own Alpha-Trans-Kopierroutine bring into action, similar z.B. the Blur-function. i think, in my leave come I do not moreover (i'm then not home), Perhaps thereafter. I werd me straining for next PS Version a to create, ok? but first PNG.....
Greeting, Frank |
|
|
| |
|
|
|
 | P.s. If Alpha-Trans, then too with 256 plains, promised... |
|
|
| |
|
|
|
 | Hello Moritz,
The Alpha-Trans function is ready, but yet relatively ungetestet. i'll soon 2 weeks not home his, if You pleasure have, can you gladly a Test-Prf create.
AlphaTrans() is quite flexibly, indicated go two Quellbilder and a Maskenbild (everything ByteArrays). eachone Pixel in the Maskenbitmap can values of 0 To 255 suppose, So how promised one Alphatrans with 256 plains. apiece darker one Pixel in the Maskenbitmap is, so sichtbarer becomes the Pixel in Quellbitmap 1 displayed. apiece heller one Maskenpixel is, so sichtbarer becomes the Pixel in Quellbitmap 2.
AlphaTrans( lever Zielbitmap (%HDC) or 0, X Offset to Zielbitmap, Y Offset to Zielbitmap, lever (prepares with InitExtFX or CreateExtFX) of Quellbitmap 1, lever (prepares with InitExtFX or CreateExtFX) of Quellbitmap 2, lever (prepares with InitExtFX or CreateExtFX) the Maskenbitmap )
If you pleasure and Time have, login you by email what about me mail you The ProSpeed-Beta. as Description must you momentarily yet this Text genügen... )
Greeting, Frank |
|
|
| |
|
|
|
 | Hello Frank,
short Info, because we time to längerem above talked having: The display of GIF Files is allows, solely the produce of GIF Files (z.B. one Konverter o.ä.) needed a license. there have I seinerzeit something vertan, sorry.
Sven |
|
|
| |
|
|
|
 | Hi,
thanks, Sven. and since neuestem incidentally too the produce of Jpgs !!!
Greeting, Frank |
|
|
| |
|
|
|
 | How, JPEG produce cost? With whom must one then The license buy? |
|
|
| |
|
|
|
 | Hi,
Forgent, Texas USA, The Patentrechte walk To 2004, nachzulesen in CHIP 10/2002.
Greeting, Frank |
|
|
| |
|
|
|
 | is Real not was. first motzen any on, eachone must it install and then cost it suddenly money. is already witty, which Strategien Microsoft (.NET) and Konsorten pursue. witzigerweise go suddenly too many, before hochgepriesene, OpenSource or Freeware projects commercial. |
|
|
| |
|
|
| |
|
- Page 2 - |
|
|
 | Yes, this is the Hintergedanke, first beautiful populär make, and if it itself to that Standart etabliert has, can abkassiert go. was Yes at GIF too so...
Greeting, Frank |
|
|
| |
|
|