Autor Beitrag
Delphianer23
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 156



BeitragVerfasst: So 16.02.03 12:20 
ich hab nen Grafikprogramm, dass spezielle Muster erzeugt (z.B Mandelbrotmenge) Dafür ist es sinnvoll sehr große Bitmaps zu erstellen. Kein Problem, doch wenn ich mir dann die 260 MB große mit 100 000 000 Pixeln Bitmap datei, nachdem sie abgespeichert wurde anschauen will, spackt mein Rechner nur noch rum.(512 MB ram)

Gibt es ein Programm, was nicht gleich das ganze Bitmap, sondern nur einen Teil lädt???

Wie würde das in Delphi gehen? Das Programm soll nur einen Ausschnitt laden, weil es sonst überlastet wird. Bei rect (rect) und bei normalen Laden des Bitmaps wird glaub ich alles in den Speicher geladen

Moderiert von user profile iconTino: Absätze entfernt.
1Stein
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 30



BeitragVerfasst: So 16.02.03 13:36 
naja eigentlich läd jedes prog das bild nach und nach aber ich glaub du willst die ganze zeit nur einen ausschnitt haben naja such dir nen Superpc und schneid den ausschnitt im Photoshop oder was du auch immer benutzt einfach aus denn nen prog das nur ausschnitte läd hab ich noch nich gesehen

_________________
1Stein wäre nie 1Stein geworden wenn 2Stein nicht gewesen wäre ;)
OregonGhost
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 215



BeitragVerfasst: So 16.02.03 14:01 
Schau dich mal im Platform SDK unter BITMAPINFOHEADER, BITMAPCOREHEADER, BITMAPINFO und so weiter um. Da ist eine Beschreibung wie Bitmapdateien aufgebaut sind (eigentlich relativ einfach). Wenn die Bitmap nicht komprimiert ist, kannst du einfach selbst die Ausschnitte laden, die du haben willst.

_________________
Oregon Ghost
---
Wenn NULL besonders groß ist, ist es fast schon wie ein bisschen eins.
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: So 16.02.03 14:02 
1Stein hat folgendes geschrieben:
und schneid den ausschnitt im Photoshop oder was du auch immer benutzt einfach aus

Was nützt ihm das? Er will es doch mit Delphi machen :?:

Gruß
TINO
mimi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: So 16.02.03 14:14 
die beste und einfachste lösung ist in deinen fall:
mehre Bilder zu nehmen ;) also speicherst du z.B. alle bilder in 10 X 10 Pixeln oder so und fertig, weil ich glaube auf den andern weg ist das zimlich heftig 260 MB für ein bild mit mustern;) welche programm nutzt du denn dafür ? ist das Freeware, wenn ja wo kann ich es bekommen ?

Moderiert von user profile iconTino: Absätze entfernt.

_________________
MFG
Michael Springwald, "kann kein englisch...."
Delphianer23 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 156



BeitragVerfasst: So 16.02.03 14:28 
Ja ist eigentlich klar, ich speicher einfach alles in z.B 100 einzelbildern zu je 1000*1000 ab, diese werden dann je nach stelle, an die man scrollt aufgerufen.

Das Programm hab ich selbst geschrieben. Es ist aber recht einfach. Ich denke mal du interessiert dich für die Mandelbrotmenge. Die Grundformel und das Berechnen sind eigentlich recht einfach. Die (vor allem besonders schnelle) Graphikausgabe macht noch leichte Probleme. Von Angangs 1,5 Stunden, bin ich jetzt bei 4 min für ein 1000*1000 Bild.

Das ist noch nicht ganz fertig, aber in ein paar Tagen werde ich es auf meiner Website zum download bereitstellen. Die Website ist allerdings auch noch im Aufbau. Wenn ich es komplett fertig habe, werde ich es auch ins Forum stellen

Moderiert von user profile iconTino: Absätze entfernt.


Zuletzt bearbeitet von Delphianer23 am So 16.02.03 14:33, insgesamt 1-mal bearbeitet
mimi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: So 16.02.03 14:31 
ich meine das Programm das diese muster erzeugen kann ;)
ausblenden Quelltext
1:
ich hab nen Grafikprogramm, dass spezielle Muster erzeugt (z.B Mandelbrotmenge) Dafür					

ist das Programm Freeware ?
oder verstehe ich jetzt was Falsch ?

_________________
MFG
Michael Springwald, "kann kein englisch...."
Delphianer23 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 156



BeitragVerfasst: So 16.02.03 14:34 
es ist MEIN Programm und es wird freeware werden, aber erst in 3-4 Tagen wenn es ausgereift ist, dann stelle ich es hier und auf meiner Website aus.

Moderiert von user profile iconTino: Absätze entfent.
mimi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: So 16.02.03 14:54 
also dein Programm was du erstellt hast kann muster erzeugen ?
cool in Farhbe ?

_________________
MFG
Michael Springwald, "kann kein englisch...."
Aya
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1964
Erhaltene Danke: 15

MacOSX 10.6.7
Xcode / C++
BeitragVerfasst: So 16.02.03 15:06 
Hi,

kleine nebenfrage... :) Was ist denn ein Mandelbrotmuster..??? :shock:

Au'revoir,
Aya~

_________________
Aya
I aim for my endless dreams and I know they will come true!
mimi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: So 16.02.03 15:13 
Gute Frage ;)
gibt mal ein Bild davon....

_________________
MFG
Michael Springwald, "kann kein englisch...."
Alibi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 458

Win2K SP3
Delphi 6 Ent
BeitragVerfasst: So 16.02.03 15:29 
mimi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: So 16.02.03 15:56 
Wenn es wirklich so wird wie es bei den BMP dateien aussieht, dann bin ich schonmla beta Tester ;)
weil so ein Programm habe ich schon gesucht;)

_________________
MFG
Michael Springwald, "kann kein englisch...."
DaRkFiRe
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 526

WinXP Home & Professional
C, C++, Delphi
BeitragVerfasst: So 16.02.03 16:41 
Mandelbrötchen (*g*) haben - glaube ich - etwas mit der Chaostheorie zu tun, oder!?

_________________
Lang ist der Weg durch Lehren - kurz und wirksam durch Beispiele! Seneca
torstenheinze
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 461



BeitragVerfasst: So 16.02.03 17:29 
jup, hat was damit zu tun, frag mich aber nicht, in wie fern
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: So 16.02.03 18:03 
jep.
Jeder Punkt steht für eine reelle Zahl (daher unendlich vergrößerbar). Diese wird durch eine bestimmte Formel überprüft. Das Ergebnis bestimmt den Farbwert. Ist er besonders klein, gehört er zur Manedlbrotmenge und ist normalerweise schwarz. Da das Verfahren irgendwo eine Wurzel (oder war's ein Quadrat?) enthält, verändern sich die Werte extrem schnell. Wachsen sie rasch, hat der Punkt eine andere Farbe, als wenn das Ergebnis langsam wächst. Die resultierenden Zahlen sind alle sogenannte "komplexe Zahlen".
Die Chaostheorie befasst sich mit nicht vorhersehbaren, also unendlich komplexen, Verhältnissen. Fraktale sind dazu ideal, da sie ebenfalls unendlich komplex sind. Die Komplexität nimmt nämlich in einem Bildausschnitt nie ab. Wenn man das Bild immer wieder vergrößert und neu berechnet, erhält man einen stark vergrößerten Ausschnitt, der aber mathematisch genauso komplex ist, wie die Ursprungsmenge.

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert
Delphianer23 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 156



BeitragVerfasst: So 16.02.03 19:31 
so siehts aus

die bmps von mir sind teilweise sogar noch besser. Vor allem die 20-25 guten Beispielbilder. Ihr werdet es schon sehen. Das Proggen war gar nicht so schwer. Das einzige wirklich aufwendige ist die Farbwahl.

Schaut einfach mal bei der freeware Sparte nach in der nächsten Woche

Moderiert von user profile iconTino: Absätze entfernt.
mimi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: So 16.02.03 21:10 
bin schon gespannt ;)

_________________
MFG
Michael Springwald, "kann kein englisch...."
mimi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: Mi 19.02.03 16:44 
und Fertig ?

_________________
MFG
Michael Springwald, "kann kein englisch...."
Rool
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 211



BeitragVerfasst: Mo 24.02.03 22:08 
Titel: ...
Den Code zu nem Mandelbrot gibts übrigens auch hier fals es jemanden interessiert:
www.swissdelphicente...showcode.php?id=1107

_________________
MFG Rool