Solved

Cfimage to cut out part of a picture?

Posted on 2011-03-16
7
396 Views
Last Modified: 2012-06-27
Is there a way to use <Cfimage to just cut out part of a picture?
0
Comment
Question by:overcolor
  • 3
  • 2
  • 2
7 Comments
 
LVL 39

Accepted Solution

by:
gdemaria earned 334 total points
ID: 35151565
0
 
LVL 39

Assisted Solution

by:gdemaria
gdemaria earned 334 total points
ID: 35151568

.. assuming that's what you meant by "cut out"
0
 
LVL 52

Assisted Solution

by:_agx_
_agx_ earned 166 total points
ID: 35151583
http://livedocs.adobe.com/coldfusion/8/functions_h-im_10.html#5163838
<cfset img = ImageNew("http://www.google.com/images/logos/ps_logo2.png")>
<cfset ImageCrop(img, 0, 0, 100, 100)>
<cfimage action="writeToBrowser" source="#img#">
0
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.

 
LVL 52

Expert Comment

by:_agx_
ID: 35151587
Darn, too slow :)
0
 
LVL 39

Expert Comment

by:gdemaria
ID: 35151644

But you added some detail..
0
 

Author Comment

by:overcolor
ID: 35152075
I will try it and let you guys know, thank you (Testing tonight)
0
 

Author Closing Comment

by:overcolor
ID: 35152343
Thank you both
0

Featured Post

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

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

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, Even though I have created this Tutorial on My personal Blog, Some people might not able to find my website, So here i am posting it again Today, from the topic it is very clear that i will be showing you here the very basic usage of how we …

789 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