ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 27th, 2004, 05:33 AM
prs_kishore prs_kishore is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 23 prs_kishore User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 h 5 m 5 sec
Reputation Power: 0
reading a jpeg file byte by byte

hai everybody,
I am in image processing..
I need to access a jpeg image file and read the data in it
not as a whole, but byte by byte in integers.
And i also need to parse the file and edit the file
by sending the edited values back into the file.

i haven't found any attributes or functions in the <cffile>tag
for this purpose.

so, anyone please help me with some file handling techniques
to read and write to an image file byte by byte.

Can i use cold fusion for doing such low-level(core) programming on images?

please help me!!!

Thanking you in advance,

kishore.

Reply With Quote
  #2  
Old December 27th, 2004, 09:27 AM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,689 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 16 h 33 m 51 sec
Reputation Power: 53
Assuming you're using ColdFusion MX, you'll have to read in the file using the underlying Java API classes. There are file input stream readers as well as the Java Advanced Imaging API. That's where I'd look first. Since I've never had to do this I can't be more specific, but it is indeed possible.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian.
How to Post a Question in the Forums

Reply With Quote
  #3  
Old December 28th, 2004, 12:37 AM
prs_kishore prs_kishore is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 23 prs_kishore User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 h 5 m 5 sec
Reputation Power: 0
hai,
yes, i am using coldfusion MX.
But i have no idea on using java API classes in cold fusion.
so, can you please tell me where to find the related documentation or u may send a sample example of using this java API classes in coldfusion MX.

thanks,
kishore

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > reading a jpeg file byte by byte


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT