Solved

cfx_image on linux

Posted on 2004-04-22
6
580 Views
Last Modified: 2013-12-24
I have a library of CF Apps I need to migrate from Windows to Linux and I use CFX_IMAGE in several spots to show image dimensions and file size.  Because this is a dll will is still work on Linux?  If not, is there something else I can use to grab image dimensions and file size in CF on Linux?

Thanks!
0
Comment
Question by:claydough
[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
6 Comments
 
LVL 35

Expert Comment

by:mrichmon
ID: 10891670
I'm pretty sure you would need to find a Linux version.

This thread may help : http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid=28984&forumid=4
offer a solution or you can Google for something that meets your needs

0
 
LVL 17

Expert Comment

by:anandkp
ID: 10891731
I doubt u wld find lnux version - as i had a talk with the creator of this tag & he mentioned they dont have linux version of it YET ! ...

Alternative : U'll need to write a java class file that does the image resizing for u & proceed with that ...
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 10892018
Yeah cfx_image is only windows, but there is a lot of interest for a linux version out there and so I bet there may be something out there that does what you want - just when you do a search look for the features you want and not "cfx_image" and be sure to include "Linux" in the search
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 1

Expert Comment

by:Sapphireblue
ID: 10892266
I have had success using <a href="http://www.imagemagick.org/">ImageMagick</a>, called from CF via CFEXECUTE. ImageMagick IDENTIFY will provide both filesize  & dimensions.
0
 

Author Comment

by:claydough
ID: 10899964
Sapphireblue,

Can you give me a cfexecute example of how you use ImakeMagick?  Thanks
0
 
LVL 1

Accepted Solution

by:
Sapphireblue earned 250 total points
ID: 10900243
Documentation on ImageMagick IDENTIFY is at http://imagemagick.org/www/identify.html .

To get filesize you might do something like this:

<CFEXECUTE NAME='PathToImageMagick/identify' ARGUMENTS='-format "%b" myimagename.gif'></CFEXECUTE>

For width x height, something like this:

<CFEXECUTE NAME='PathToImageMagick/identify' ARGUMENTS='-format "%w x %h" myimagename.gif'></CFEXECUTE>
0

Featured Post

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

623 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