English
Experimente

Pixels: übergroße View images, loading, Save

 
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


 
12/29/15  
 



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:


 
12/29/15  
 



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.

 
12/29/15  
 



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².

 
12/29/15  
 



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
//

8.505 kB
Hochgeladen:12/29/15
Downloadcounter3
Download
20 kB
Hochgeladen:12/29/15
Downloadcounter156
Download
1.224 kB
Hochgeladen:12/29/15
Downloadcounter170
Download
 
12/29/15  
 




RudiB.


Habs too time short tested.....

37 kB
Hochgeladen:12/29/15
Downloadcounter176
Download
 
XProfan 9
WinXP, SP2, AMD Phenom(tm) II X4 840 Processor

Xprofan X4
Rudolf Beske / München

Hardware: NB Intel I9 - 16GByte RAM
12/29/15  
 



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.
 
12/29/15  
 




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]
 
XProfan 9
WinXP, SP2, AMD Phenom(tm) II X4 840 Processor

Xprofan X4
Rudolf Beske / München

Hardware: NB Intel I9 - 16GByte RAM
12/29/15  
 



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.

8.214 kB
Hochgeladen:12/29/15
Downloadcounter4
Download
2.991 kB
Hochgeladen:12/29/15
Downloadcounter147
Download
 
12/29/15  
 



[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]
 
12/29/15  
 



real Threads:

Download



pkg updated:  [...] 

2.932 kB
Hochgeladen:12/30/15
Downloadcounter17
Download
295 kB
Hochgeladen:12/30/15
Downloadcounter139
Download
 
12/30/15  
 



Zum Experiment


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

11.350 Views

Untitledvor 0 min.
Thomas Freier02/14/24
RGH12/26/21
p.specht11/20/21
Manfred Barei11/19/21
More...

Themeninformationen

this Topic has 2 subscriber:

iF (9x)
RudiB. (2x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie