Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Reading Image files in Linux
Hi all..

I tired to read a JPEG and BMP image by using the code -
ImageReader fromFile:'path'---- in operating system Linux(Fedora Core 6) in
Visual works.

eg: (ImageReader fromFile:'/root/image006.jpg')image
( ImageReader fromFile:'/root/image006.bmp')image

but i am not getting these images read correctly in Linux , but in
Windows Operating system it is reading correctly and working fine. I can
read GIF image correctly by using the same code in Linux.

Is there any other way for reading JPEG and BMP images in Linux operating
system?.

HTH
Arun.S



Report this thread to moderator Post Follow-up to this message
Old Post
Ajaya Ghosh A.S
03-26-08 09:52 AM


Re: Reading Image files in Linux
"Ajaya Ghosh A.S" <ajaya.ghosh@ivasystems.co.in> wrote:
> but i am not getting these images read correctly in Linux , but in
> Windows Operating system it is reading correctly and working fine. I can
> read GIF image correctly by using the same code in Linux.
>
> Is there any other way for reading JPEG and BMP images in Linux operating
> system?.

The code should work correctly independently of operating system.
Is it possible that you transferred the images using a mechanism that
is not safe for binaries (such as FTP with ASCII mode)?.

Cheers,
Hans-Martin
--

Report this thread to moderator Post Follow-up to this message
Old Post
Hans-Martin Mosner
03-27-08 01:00 AM


Re: Reading Image files in Linux
I don't know about BMPs, but the JPG reader apparently support only a fairly
 constrained set of features of the format
which pretty much none of the JPG files that I ran into satisfies. However t
here's a bundle in the public repository,
called JPEG I think, which seemed to read everything I tried it with. The AP
I is slightly different from the
ImageReader, you do something like:

(JPEG.Reader filename: aFilename) image

HTH,

Martin

Ajaya Ghosh A.S wrote:
> Hi all..
>
> I tired to read a JPEG and BMP image by using the code -
> ImageReader fromFile:'path'---- in operating system Linux(Fedora Core 6) i
n
> Visual works.
>
> eg: (ImageReader fromFile:'/root/image006.jpg')image
>      ( ImageReader fromFile:'/root/image006.bmp')image
>
> but i am not getting these images read correctly in Linux , but in
> Windows Operating system it is reading correctly and working fine. I can
> read GIF image correctly by using the same code in Linux.
>
> Is there any other way for reading JPEG and BMP images in Linux operating
> system?.
>
> HTH
> Arun.S
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
Martin Kobetic
03-27-08 01:00 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Smalltalk archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 03:15 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.