Solved

Create image from html

Posted on 2012-03-19
6
340 Views
Last Modified: 2013-11-19
My company has an html document with images that is being sent as a zipped file (images seperate).  Is there a way to convert this html and image files into one image file...jpeg is preferred but I really don't care at this point.  Note this function must run on Solaris.  Thanks in advance.
0
Comment
Question by:kncoughlin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
6 Comments
 
LVL 78

Assisted Solution

by:arnold
arnold earned 250 total points
ID: 37739682
What about a PDF?
Html2pdf
Or HTML2ps
Ps2pdf?
0
 
LVL 38

Accepted Solution

by:
BillDL earned 250 total points
ID: 37758603
kncoughlin

The most important aspect for us to know is WHY you are sending the zip file containing a web page plus the images.

Is this just so that a client can "preview" the general layout and appearance of the web page, or is the intention that the recipient be able to actually use the web page and perhaps integrate it into their own existing site?

If it's just a "preview", then like arnold my choice would be a PDF file.  I have only used "Virtual PDF Printers" in Windows, so I don't know what similar software exists for Solaris.

Internet Explorer has always had a File > Save As > "Web Archive, single file (*.mht)" option, which creates one file which is not dissimilar to how an email message works by embedding the images as data inside the file.
http://en.wikipedia.org/wiki/MHTML
Although the MHTML file format is pretty much a Microsoft thing, I believe that Opera Browser can create and open *.MHT files natively and Google Chrome can read them.  Whether or not Mozilla Firefox can do so without a plugin is something I have not tested.  Even though there could be compatibility issues, this might be something to consider if you are providing someone with what I suppose could be called a "functional preview" in one file.

You referred to sending the web page as one image file, preferably a JPG.  If you are not looking for an automated method, then can't you just take a screenshot and automatically save or paste into an image editor, then scroll down and repeat until you have images that can be overlapped and stitched together into one full and complete image?  Sorry, I'm not familiar with Solaris functionality and what tools you might have available, but a quick google search for "how to capture screenshots in solaris" suggests various methods.  

Other than these possible options, I would just stick with what you are doing and zip up the page and files.
0
 

Author Comment

by:kncoughlin
ID: 38672014
I've requested that this question be deleted for the following reason:

Question never answered adequately.
0
 
LVL 38

Expert Comment

by:BillDL
ID: 38672015
Hello kncoughlin

There was nothing inadequate about the suggestions made by arnold or myself.  The "inadequacy" was the lack of question detail and lack of follow-up information.

1. Screenshot image - Can be viewed natively on every OS I know of.  There are native methods and also plenty applications that enable this.  Taking and saving of screenshots can be done manually or automatically.

2. PDF - A universal format. There are libraries and applications to create PDFs on Solaris, and there are PDF readers for Solaris.

3. MHT - Not as universal.  Opera browser is available for Solaris and can create and open MHT files.

If there are issues with any of these methods that makes it impossible to do what you want, then it would have been good if you had told us those issues so that we could suggest possible alternative methods or concede that it could not be done.
0
 
LVL 38

Expert Comment

by:BillDL
ID: 38675963
Thank you Netminder
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how can i make amazon approved mobile url 4 54
need help with share buttons 11 106
PHP Web Development 6 68
why is my slideshow so small on this wordpress site? 7 41
When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The goal of the tutorial is to teach the user how to remove a natural vignette your photos and how to add vignette to your photos.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question