Autor Beitrag
Andreas L.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: Mi 07.12.05 17:47 
Hi,
Image Switcher Creator generiert eine HTML-Seite um eine Bild-Vorschau zu realisieren.

Schauts euch bitte mal an....
Einloggen, um Attachments anzusehen!


Zuletzt bearbeitet von Andreas L. am Mi 07.12.05 18:38, insgesamt 1-mal bearbeitet
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Mi 07.12.05 18:51 
Also auf den ersten Blick find ichs ein bisschen blöd, dass man ein extra Thumbnail auswählen muss. Verkleiner das Bild doch einfach auf die entsprechende Größe..

_________________
Programmers never die, they just GOSUB without RETURN
Andreas L. Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: Mi 07.12.05 19:47 
user profile iconalias5000 hat folgendes geschrieben:
Also auf den ersten Blick find ichs ein bisschen blöd, dass man ein extra Thumbnail auswählen muss. Verkleiner das Bild doch einfach auf die entsprechende Größe..


Wenn das Bild einfach im HTML-Image-Tag verkleinert wird sind die Ladezeiten für nicht DSL-User unerträglich. Und für die andere Möglichekit bräuchte ich dann quasi eine Funktion im Programm die mir PNG, GIF, JPEG, und BMP verkleinert. BMP und JPEG ist kein Problem. Doch wie stell ich das mit GIF und PNG an..?

Danke für dein Feedback ;-)
Hux
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 171



BeitragVerfasst: Fr 09.12.05 14:14 
Sieht gut aus...
Gute übersicht...
Andreas L. Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: Fr 09.12.05 17:37 
user profile iconHux hat folgendes geschrieben:
Sieht gut aus...
Gute übersicht...


Danke :-)
Raffo
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 300



BeitragVerfasst: Di 24.01.06 13:27 
[quote="user profile icononlinehome... eine Funktion im Programm die mir PNG, GIF, JPEG, und BMP verkleinert. BMP und JPEG ist kein Problem. Doch wie stell ich das mit GIF und PNG an..?

Danke für dein Feedback ;-)[/quote]

Sicher kennst du auch IrfanView, dieses lässt sich per Kommandozeile programmieren um (die von Irfan View unterstützten Bildformate) eigene Bilder zu skalieren. Dann machst du nur noch nen Shell Execute und kannst die konvertierte Datei abholen.

Beispiel:
irfanview.exe c:\pfad\bild.gif /resample=(100,200) /aspectratio /convert=C:\ziel\bild.bmp

Die genauen Parameter stehen im IrfanView Verzeichnis in der Datei: i_options.txt
Andreas L. Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: Di 24.01.06 13:30 
user profile iconRaffo hat folgendes geschrieben:
[quote="user profile icononlinehome... eine Funktion im Programm die mir PNG, GIF, JPEG, und BMP verkleinert. BMP und JPEG ist kein Problem. Doch wie stell ich das mit GIF und PNG an..?

Danke für dein Feedback ;-)


Sicher kennst du auch IrfanView, dieses lässt sich per Kommandozeile programmieren um (die von Irfan View unterstützten Bildformate) eigene Bilder zu skalieren. Dann machst du nur noch nen Shell Execute und kannst die konvertierte Datei abholen.

Beispiel:
irfanview.exe c:\pfad\bild.gif /resample=(100,200) /aspectratio /convert=C:\ziel\bild.bmp

Die genauen Parameter stehen im IrfanView Verzeichnis in der Datei: i_options.txt[/quote]

Das ist ne gute Idee. Aber nicht jeder User hat IrfanView installiert :-(
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Di 24.01.06 14:35 
Ich habe kein Irfanview installiert. Und nu?

Gibt es irgendwo eine Beispiel Gallery, die man sich mal angucken könnte?
Andreas L. Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: Di 24.01.06 14:52 
user profile iconLuckie hat folgendes geschrieben:
Ich habe kein Irfanview installiert. Und nu?

onlinehome hat folgendes geschrieben:
Das ist ne gute Idee. Aber nicht jeder User hat IrfanView installiert :-(

user profile iconLuckie hat folgendes geschrieben:
Gibt es irgendwo eine Beispiel Gallery, die man sich mal angucken könnte?


Eine etwas ältere, nicht mit der aktuellen Version von Image Switcher erstellte, Gallerie:
softprose.de/documents/demo/imgswitch.html