Autor Beitrag
Juergen Rieger
Hält's aus hier
Beiträge: 3



BeitragVerfasst: Do 01.01.09 20:31 
Prost Neujahr,
gibt es in Delphi eine Möglichkeit ein Bild im *.jpg-Datei-Format einzulesen um das Bild anschließend um 90Grad zu drehen?
Jürgen Rieger


Moderiert von user profile iconNarses: Topic aus Delphi Language (Object-Pascal) / CLX verschoben am Do 01.01.2009 um 23:03
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Do 01.01.09 21:21 
ja die gibt es.
Such einfach mal im Forum danach.

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Yogu
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2598
Erhaltene Danke: 156

Ubuntu 13.04, Win 7
C# (VS 2013)
BeitragVerfasst: Do 01.01.09 22:39 
Schau mal hier: TGraphic drehen.

JPG-Dateien kannst du auf verschiedene Arten laden und speichern, aber dafür findest du Haupfenweise Ideen im Forum und in der Library.
Martok
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: Fr 02.01.09 01:42 
Nur dass diese grundlegenden Transformationen (Drehen um n*90°, Spiegeln) bei JPEG auch verlustfrei möglich sind. Genau das sind nämlich die Varianten mit TGraphic laden/drehehn/speichern eben nicht: jedes mal geht die Qualität runter.

Wie das allerdings geht weiß ich auch nicht, nur dass ACDSee das schon immer kann :P

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19312
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Fr 02.01.09 02:35 
Wie das geht steht im Groben hier:
de.wikipedia.org/wik...bearbeitung_von_JPEG

// EDIT:
Und hier gibts die passende Delphiimplementierung, fix und fertig: :D
cc.codegear.com/Item/19723