Solved

ColdFusion: How could can crop white space margins from images?

Posted on 2009-07-07
2
476 Views
Last Modified: 2012-05-07
I'm generating screenshots using a html-to-image tool, however the generated images have excess white space around them. Is there a straightforward way in Coldfusion to crop the image to remove white space? .. essentially move the margin of the image to remove redundant white space so that the image doesn't appear padded with white space?

Please don't recommend a different html to image tool since i would like to know how to do the above for other cases.

Any ideas? Many thanks in advance.
0
Comment
Question by:paddycobbett
2 Comments
 
LVL 19

Accepted Solution

by:
erikTsomik earned 500 total points
ID: 24800457
read image magic it may help you . I used it before and it works great
http://www.imagemagick.org/script/index.php
0
 
LVL 1

Author Closing Comment

by:paddycobbett
ID: 31600941
Thanks alot, great tool, did just the trick! :)
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

This is an updated version of a post made on my blog over 3 years ago. It is unfortunately, still very relevant as we continue to see both SQLi (SQL injection) and XSS (cross site scripting) attacks hitting some of the most recognizable website and …
Sometimes databases have MILLIONS of records and we need a way to quickly query that table to return the results me need. Sure you could use CFQUERY but it takes too long when there are millions of records. That is why SOLR was invented. Please …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

786 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