Autor Beitrag
microfoto
Hält's aus hier
Beiträge: 1



BeitragVerfasst: Do 04.05.06 11:46 
Wenn ich in meinem Grafik-Programm versuche, das Endergebnis als großes jpg-Files (5 Mio. Pixel) zu speichern, bekomme ich die Fehlermeldung #36. Es wird eine Datei mit 0 Byte Größe angelegt. Wenn ich die bearbeiteten Files und dadurch das Endergebnis in der Größe halbiere oder das Ergebnis als bitmap speichere, klappt's ohne Probleme.

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
              jpgfile := TJPEGImage.Create;
              jpgfile.Assign(Form4.Image0.picture.graphic); //... picture.bitmap gibt dasselbe Ergebnis
              try
                 jpgfile.SaveToFile(currentFile);
              finally
                 jpgfile.free;


Danke für gute Ratschläge!

Moderiert von user profile iconUGrohne: Delphi-Tags hinzugefügt.
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Do 04.05.06 12:07 
Eigentlich soll das ein I/O-Felher sein beim Schreiben auf der Platte sein (kein Platz?).
Google hat auch gesagt, dass die Komponente bei großen Bildern Probleme machen soll. Ich habe bei Google einfach mal "jpeg Fehler 36" eingegeben.