?
Solved

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

Posted on 2009-07-07
2
Medium Priority
?
494 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
[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
2 Comments
 
LVL 19

Accepted Solution

by:
erikTsomik earned 2000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

PROBLEM:  How to open a cfwindow or run a function on double click of a cfgrid row. One of my clients wanted to be able to double click on a row item to get more detailed information about a transaction and to be able to modify the line items i…
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 …
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

777 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