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
Solved

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

Posted on 2009-07-07
2
481 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

I spent nearly three days trying to figure out how incorporate OAuth in Coldfusion for the Eventful API. Hopefully, this article will allow Coldfusion Programmers to buzz through the API when they need to. Basically, what this script does is authori…
Recently while working on a project I got a very annoying cfdocument has no body error message. I had never seen this error before. So I checked the code. The code was pretty simple; it was Just showing me the cfdocumnt tag and inside that tag a …
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 …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

809 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