Solved

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

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Hi. There are several upload tutorials using jquery and coldfusion. I found a very interesting one here Upload Your Files using Jquery & ColdFusion and Preview them (http://www.randhawaworld.com/) . I did keep the main js functions but made sever…
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 …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

861 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now