Solved

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

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

This article  is about submitting  form through  ColdFusion.Ajax.submitForm to the action page and send a response back in JSON format which later can be decoded using ColdFusion.JSON.decode. By this way you can avoid the usual page refresh for subm…
Hi, I will be creating today a basic tutorial on how we can create a Mail Custom Function and use it where ever we want. The main advantage about creating a custom function is that we can accommodate a range of arguments to pass to the Function and …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 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

19 Experts available now in Live!

Get 1:1 Help Now