Software :: Command Line Tools To Convert HTML To Images Without A GUI?
Mar 13, 2009
I've spent a lot of time googling on this one, but could not really find anything that would convert HTML to images. Does anyone know if there are some command line tools that can do this? I need to convert simple HTML documents to images to be attached to Powerpoint presentations. Could firefox gecko be tapped into to do this without a GUI?
1) capturing an RDF formatted RSS feed as a file on my computer
2) converting the result to HTML using local command line tools
I've sorted 1) with wget? I've discovered xsltproc but I'm going round in circles. The master plan is to import my pinboard bookmarks into a static web site produced on my linux box using a handful of clever bash scripts.
I need to be able to convert HTML email messages saved as text files (.eml or .msg) to PDF documents, one PDF per email, retaining formatting and images.
Are there any Linux tools that will allow me to do this from the command line (so it can be scripted)?
I am using Redhat cluster suite. I am trying to configure cluster on linux using command line tools. I have following queries. Please answer them as early as possible.
1.Can I add node in cluster without adding fence device using command line tool? If yes then how?
2.I want to add failover domain in cluster. How can I add it using command line tool?
3.I want to add resources in cluster. How can I add it using command line tool?
4.I want to define services in cluster. How can I define them using command line tool?
I want to run OpenBox on a netbook. For those of you not familiar, it is a very simple window manager, where I can launch a terminal with a mouse click, and I can start the few apps that I need from the command line. Basically, I am trading eye candy and easy access to a lot of stuff I don't need for a more responsive GUI.
My question is...what package should I install, and what corresponding command line would be used to launch a tool to manage the wireless LAN connection?
Kernel 2.6.21.5, Slackware 12.0 A command line html reader, or a conversion tool from html to text is what I would like to know if any of you guys knows. It has not to do a perfect job. And it would be nice if it is a native unix/linux program.
I'm hoping to find an existing Linux tool for measuring latency:
I'm trying to diagnose how much latency my OS and NIC card are adding to TCP latency in Linux. I looked at the following tools but all (at least at the surface level) measured bandwidth (Mbps/sec) rather than latency (nanoseconds for transmition of 1 packet of size x).
If I were to write a custom test, it would likely do the following:
Client:
Create a fake message of the specified length with some padding for an incrementing identifier. Open a TCP connection (with the right parameters like TCP_NODELAY, etc) Loop and send messages containing an incrementing identifier. Store the current system time (in nanos) associated with the identifier. Listen for responses, record the current time and record the latency of that identifier asynchronously Server Listen for a connection Echo back any message received
Assuming both boxes had the same setup (configs, cards, OS, CPU, etc), are relatively close to eachother in the network, and one knows roughly the network's latency contribution, one could get a rough estimate of the OS + NIC contribution and begin testing various configurations.
One could also get a more accurate picture of the latency by using a network sniffer and snooping on the lines between the two hosts, calculating the latency between the two sides for an ID, and then subtracting that from the internally measured latency.
Does anyone know of any good command line audio editing tools? I would like one that can take an mp3 file and crop everything but the first 30 seconds or so (possibly decompressing those 30 seconds as well).
The download bar on my conky overlay (${downspeedgraph eth0}) seems to be maxed out constantly. This is when everything should be idle with no downloads happening in the background (at least non that I know about).Are there any command line tools that can tell me what process is using my ethernet port?
I did a command-line installation. I dont have an ethernet connection, only wireless. For some reason the alternate installer doesnt install "wireless-tools" How do i install it? At this point I am thinking of booting off a live USB, downloading the wireless-tolls package from here Save it to a folder in the command line installation where?) then boot back into command line and install from there But I am not that savvy with command lines, and dont know where to install to...
I am looking for free and well known fax command line tools for receiving and sending faxes I wan it to save receive faxes in pdf format with file name included with caller phone number and date of receive:
Quote: for example: 5566545544-2011-5-11.pdf and any other format that I want.
I have a requirement to print images (two to be precise) from the command line of a given size and without losing too much quality.
So, I may have two images, a.jpg and b.jpg which may be 4x4" and 6x4" respectively (the sizes may vary). I need to be able to print both these on a single sheet of paper (one under the other) at a given size for each - so a may be 2x2" and b may be 3x2" - the aspect ratio will always be maintained (or as near as possible!)
I am currently doing this a very messy way (because I don't know any other way!!) - basically I am converting the picture to a given size using a set density using convert and then concatenating the two using montage.
Here is part of my script:
Code:
Don't worry too much about the case statement at the end - that is just to be able to select to print either A, B or A and B.
The issue with this is that is doesn't work great if the aspect ratio is not maintained perfectly and also, it loses quite a lot of quality on the print.
I have a very old windows app which I wrote years back in VB (o dear! ) which does the same thing and the quality is fine (I am running it through wine). I want it to be command line though because I want to run it as part of other scripts etc.
I installed ubuntu 10.10 server from an usb stick. I do not have access to a wired connection and do not have a CD drive, so now I need to configure the wireless connection.for that I need to have wireless-tools which if i am not wrong are not installed by default so the question is: how can I install the wireless-tools package from an usb using only command line? note: I got internet access from another ubuntu-desktop PC so i can download any package needed, etc.
I'm having trouble finding information on using gstreamer to convert videos from the command line. I've seen examples to convert audio and know it's possible to convert video (Thoggen does this with gstreamer) but what would the command be to execute this? I assume it will use gst-launch but there are so many following switches that it gets confusing. I'm interested in converting a DVD to OGG (as Thoggen does). I ask this because Thoggen:
1) Doesn't remember my preferences (quality, picture size etc.) 2) Gives me a huge preview window that I do not need (while it is encoding)
I have a colour PDF file, and I'm going to print it out and then photocopy it in black and white. I'd like to know what it's like in B&W before photocopying it. Is it possible to 'greyscale' a PDF on the command line using free software? I'm using Ubuntu 9.10.
I am making a text search engine. I need to first convert binary documents to text. I want to go with cross-platform (we develop both on windows and linux) command line (so that I can get the output via python subprocess). What are the choices for this?
But the problem is that this file never gets saved to /var/upload directory (I changed php.ini file, so that uploaded files should be saved into /var/upload. I tried /var/tmp as well, but it's the same). Here are also the permissions of this dir:
BTW, I use Mandriva 2010 64 bit distribution. I spent last two days searching for solution on internet forums, asking people and made absolutely no progress. is it possible to debug what is happening with the supposedly uploaded file? I mean any logs, where I could find trace, what's going wrong? I tried to check /var/log/httpd and files in there, but no success either...
I have 2 GB of html files and i need to convert all of them at once to text files. Is there any way that I can do it. Converting each of them manually is really a pain and I want to convert all of them with a single command to text files.