Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
html to jpeg ?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
capone007
n00b
n00b


Joined: 03 Aug 2004
Posts: 50

PostPosted: Tue Jul 01, 2008 11:46 am    Post subject: html to jpeg ? Reply with quote

Hallo zusammen,

ich suche schon eine weile leider vergeblich eine möglichkeit, aus HTML-Code ein jpg (oder welches image-format auch immer) zu machen. am besten wäre ein perl script o.ä.

kennt da jemand etwas?


danke für eure aufmerksamkeit :)
Back to top
View user's profile Send private message
Knieper
l33t
l33t


Joined: 10 Nov 2005
Posts: 846

PostPosted: Tue Jul 01, 2008 12:03 pm    Post subject: Reply with quote

Text zu Bild macht man log'weise selten, aber eigentlich reicht a2ps oder vim evtl. mit Syntaxhervorhebung (Forensuche) und dann convert aus Imagemagick. Darf man nach dem eigentlichen Grund fragen?
_________________
Je dümmer desto Gnome/KDE.
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Tue Jul 01, 2008 8:44 pm    Post subject: Reply with quote

kwebdesktop und htmldoc wären ne Möglichkeit, siehe topic 518401.
_________________
KDE
Back to top
View user's profile Send private message
Knieper
l33t
l33t


Joined: 10 Nov 2005
Posts: 846

PostPosted: Tue Jul 01, 2008 9:02 pm    Post subject: Reply with quote

Moment, er will aus "HTML-Code ein jpg" machen, nicht aus interpretiertem html-Quelltext ein Bild. Sonst koennte er ja einfach den Pearl Crescent Page Saver fuer Firefox oder khtml2png oder Webshot unter W* nehmen.
_________________
Je dümmer desto Gnome/KDE.
Back to top
View user's profile Send private message
capone007
n00b
n00b


Joined: 03 Aug 2004
Posts: 50

PostPosted: Wed Jul 02, 2008 11:21 am    Post subject: Reply with quote

ersteinmal danke für eure antworten :)

ich habe mich jedoch nicht ganz klar ausgedrückt, entschuldigt. ich möchte quais via perl-script alle x minuten meine webpage vom server via http herunterladen. den so gewonnenen HTML-Code möchte ich wieder in ein bild umwandeln, dass mir die seite zeigt, wie sie ein browser anzeigen würde. ich möchte *nicht* einen screenshot vom vi o.ä. ;)

das ganze soll zum "monitoring" einer webseite sein...kann mir da jemand einen heissen tipp geben?
Back to top
View user's profile Send private message
Knieper
l33t
l33t


Joined: 10 Nov 2005
Posts: 846

PostPosted: Wed Jul 02, 2008 12:04 pm    Post subject: Reply with quote

Das haben wir bereits mit mehreren Alternativen auch fuer diesen Fall. Die Firefoxvariante geht per Konsole, ebenso khtml2png. Wenn man will, kann man da auch unnoetigerweise Perl rumbasteln, muss man aber nicht. Monitoring geht aber eigentlich anders, man will ja iA. nur wissen, ob ein Dienst laeuft und da muss man keine Bilder erzeugen.
_________________
Je dümmer desto Gnome/KDE.
Back to top
View user's profile Send private message
capone007
n00b
n00b


Joined: 03 Aug 2004
Posts: 50

PostPosted: Wed Jul 02, 2008 1:20 pm    Post subject: Reply with quote

deswegen hab ich "monitoring" ja auch in " geschrieben ;) ist auch nicht auf meinem mist gewachsen die sache - ich bin nur der glückliche, der es realisieren darf ;)

die firefox-variante ist ne idee...allerdings möchte ich es gerne auf einem linux-server durchführen, und da will ich kein X drauf haben :(
geht das noch anders?
Back to top
View user's profile Send private message
Knieper
l33t
l33t


Joined: 10 Nov 2005
Posts: 846

PostPosted: Wed Jul 02, 2008 3:02 pm    Post subject: Reply with quote

Du kannst versuchen alle Abhaengigkeiten ohne X zu bauen. Imagemagick kann auch html->Bild, allerdings nur maessig ueber html2ps. Ansonsten koennte ein anderer Rechner zum Generieren herhalten (oder externer Dienstleister wie zB. Browsershots).
_________________
Je dümmer desto Gnome/KDE.
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Wed Jul 02, 2008 7:51 pm    Post subject: Reply with quote

capone007 wrote:
das ganze soll zum "monitoring" einer webseite sein...

*schüttel* das klingt verdächtig nach $Manager will das haben weil 'das ist so weil ich das sage punkt'

anyways, ggf. ist http://browsershots.org/ für den Zweck genau das richtige bzw. mißbrauchbar.
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum