| |
|
|
| Pixels: übergroße View images, loading, Save
One pkg now too with Dateifunktionen (was right kniffelig!)
there's now The pixels.files.inc -
there having The Dateiformate-Coder ihren Space -
following functions as example thereby:
pixels.saveRAWtoFile(long pix,string fle) pixels.loadRAWfromFile(string fle,long xx,yy) pixels.savePINCtoFile(long pix,string fle) pixels.loadPINCfromFile(string fle)
pkg:
Download
The problem is so to program, that it even too with really large Files works. Z.B. can I to the invite of/ one 0,5GB-File not simply time one semidetached lay out or Umkopieren.
too The pixels.inc is extended and pixels.create has now 4 Parameter. means not The Codes mixen.
now could itself someone on it make, into pixels.files.inc one pixels.loadBMPfromFile einzuprogrammieren. Hierbei must one then whom Decoder naturally self umsetzen and ought to rather in a nProc written his.
I for my part would with the Topic and Test then first through, Riesenbilder with XProfan/ FreeProfan free from problems possible.
further Demos:
here scroll 14.000x14.000 Pixel:
Download
real Threads:
Download
|
|
|
| |
|
|
|
| circa for the Pixels-experiment a complete Experimental-surroundings produce, I thought on FreeProfan [...] with dazugehöriger IDE XProfEd.
but one the both Products seems a trouble to have, because if I start ./profane.exe ./xprofed.prf then launch xprofed only ca. each 10. time. The Splash-Screen becomes but always viewed.
I have here for the pkg time one pkg geschnürt with: XPSE, FreeProfan32, XProfEd, JWasm, POLink, for XProfEd-notwendige .ph-Files.
but already the IDE-Start succeed the freeprofan32 profane exe not. The of Roland beigelegte XProfEd.exe functions however but I must The IDE by profane.exe started.
here the pkg, bekommts someone to that walk?
and the profcomp.exe finds The windows.ph not though tappt im dunkeln in the same directory lying:
|
|
|
| |
|
|
|
| so, then without IDE time kürzeres pkg:
build.bat compiled and launch...
and see there, 10.000²x4 works!
15.000²x4 works not at me More - wären then but too 0,85 GigaByte.
Ergo are too with XProfan Bildgrößen How 50.000 x 50.000 x1Bpp possible- halbes GigaByte Pixeldaten shining there so The boundary To his integrally like with IrfanView.
10.000x10.000 RGBA (myImg3) are anyway so fat drin. |
|
|
| |
|
|
|
| here one new pkg the The sizes durchtestet:
Download
I come on 748MB (14000x14000xRGBA):
and the shining too very IrfanViews boundary To his, 14Ki² creates it by me yet but not 15Ki². |
|
|
| |
|
|
|
| here scroll 14.000x14.000 Pixel:
Download
Unterm Strich would I for something like sooner The stabilere XProfan 11 Full Version recommend and the Files in the pkg supplant.
here the code:
{$cleq}
//
decimals 0
include pixels.inc
//usermessages wm_erasebkgnd
//
cls
print "Größen/Speichertest:"
// max size durchtesten
long tmp,max
whileloop 1000,25000,1000
tmp=pixels.create(loop,loop,$FF0000)
if tmp
max=loop
pixels.destroy(tmp)
endif
print loop;"x";loop;":",if(tmp,tmp,"gescheitert")
casenot tmp : break
wend
casenot max : end messagebox("errmax","",0)
//
sleep 1000
cls
// maximales Megabild lay out
long megabild=pixels.create(max,max,0)
casenot megabild : end messagebox("errmega","",0)
// small AnzeigePixelshPic for spending the Riesenbildes produce
long myView=pixels.createHPic(maxx,maxy,$FF0000)
casenot myView : end messagebox("errmyview","",0)
// megabild vollmalen
whileloop 2000
pixels.line(megabild,0,rnd(max),max,rnd(max),rnd($FFFFFF))
pixels.line(megabild,rnd(max),0,rnd(max),max,rnd($FFFFFF))
wend
// display
long x,y,xx,yy
windowtitle st$(max)
do {
xx=width(hWnd)
yy=height(hWnd)
x=mousex/xx*(max-xx)
y=mousey/yy*(max-yy)
case x>max-xx-1 : x=0
case y>max-yy-1 : y=0
// neckline from Riesenbild-Pixelspeicher in small AnzeigePixelshPic copy
pixels.copyRect(myView,megabild,0,0,x,y,xx,yy,0)
// the hPic the Pixel of myView update
pixels.renewHPic(myView)
// small AnzeigePixelshPic on hWnd draw
pixels.drawHPic(myView,0,0,0)
//
waitinput 1
}
//
//pixels.destroy(myView)
end
//
|
|
|
| |
|
|
|
RudiB. |
Habs too time short tested..... |
|
|
| |
|
|
|
| Wow,
You could Perhaps even on The 4 GB reservieren,
RGBA: 32.768² Pixel Graustufen: 65.536² Pixel SW: 185.363² Pixel
The to this principle showing could. |
|
|
| |
|
|
|
RudiB. | Have only your exe time probiert, goes even yet To 19000, still thereafter soar it from. The 20000: there says the Progrämmle "gescheitert". and the Pixelscrollen runs by me too right liquid with Mausbewegung...calm. but time sincere who need because sooo large Images ??
well Yes, because man's can, or ??
[OFFTOPIC]Have now the trouble (my trouble) with the Arrays recognized/resolved.....now flutscht it....having however yet never Problems or Error, To yesterday !! thanks again....i was already pushy, or??[/OFFTOPIC] |
|
|
| |
|
|
|
| here time finally pkg now too with Dateifunktionen (was right kniffelig!)
there's now The pixels.files.inc -
there having The Dateiformate-Coder ihren Space -
following functions as example thereby:
pixels.saveRAWtoFile(long pix,string fle) pixels.loadRAWfromFile(string fle,long xx,yy) pixels.savePINCtoFile(long pix,string fle) pixels.loadPINCfromFile(string fle)
pkg:
Download
only Test.exe:
Download
The problem is so to program, that it even too with really large Files works. Z.B. can I to the invite of/ one 0,5GB-File not simply time one semidetached lay out or Umkopieren.
too The pixels.inc is extended and pixels.create has now 4 Parameter. means not The Codes mixen.
now could itself someone on it make, into pixels.files.inc one pixels.loadBMPfromFile einzuprogrammieren. Hierbei must one then whom Decoder naturally self umsetzen and ought to rather in a nProc written his.
I for my part would with the Topic and Test then first through, Riesenbilder with XProfan/ FreeProfan free from problems possible. |
|
|
| |
|
|
|
| [OFFTOPIC] RudiB. (29.12.2015)Have now the trouble (my trouble) with the Arrays recognized/resolved.....now flutscht it....having however yet never Problems or Error, To yesterday !! thanks again....i was already pushy, or??
I wanted to already durchrufen! [/OFFTOPIC] |
|
|
| |
|
|
|
|
|
|
| |
|
|