Solved

cfx_image on linux

Posted on 2004-04-22
6
518 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
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
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 …
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

708 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

17 Experts available now in Live!

Get 1:1 Help Now