I want to know how to read image files in C.. what are the headers
that i should include? is there any tutorials regarding this ? pls
inform me.
Oct 6 '08
36 2401
On Oct 7, 5:26 pm, Richard Heathfield <r...@see.sig.i nvalidwrote:
vipps...@gmail. com said:
<snip>
Message-ID: <dv3f5r$5j...@n wrdmz03.dmz.ncs .ea.ibs-infra.bt.com>
Message-ID: <01beef3e$135e2 3a0$36053...@et on.powernet.co. uk>
They appear similar to mine.
Yes, they are. I've learned better since then. Can you?
I can learn better, but I'm not convinced. We're just disagreeing at
something.
I think, the next time, I'll reply with a similar post but perhaps
include a sentence dedicated to telling OP where to look for better
information, that should settle it.
In article <db************ *************** *******@m36g200 0hse.googlegrou ps.com>,
<vi******@gmail .comwrote:
>On Oct 7, 1:07 pm, Richard Heathfield <r...@see.sig.i nvalidwrote:
>vipps...@gmail .com said:
On Oct 7, 12:22 am, Richard Heathfield <r...@see.sig.i nvalidwrote: vipps...@gmail .com said:
<snip>
I mentioned what's possible within standard C.
>Within standard C, it's possible to read all kinds of image formats in useful ways that let you do productive image processing. Yes, you use fopen and getc and so on to get the data into memory, but there's a lot more to it than that. Whilst, strictly speaking, such questions are not as topical as they perhaps might be, it doesn't do anyone any favours for you to pretend you don't know what he almost certainly is really after.
You snipped the part where I explain why I chose to behave as if I
didn't know what OP is talking about.
Whatever. Such behaviour is self-marginalising.
I tried to search for "self-marginalising", but the results I get from dictionaries are definitions of the word marginalise, which don't help. What do you mean?
Also, would you mind explaining these posts by you? Were you self- marginalisin g as well, or is there something in those cases that made you post what you posted?
Message-ID: <dv**********@n wrdmz03.dmz.ncs .ea.ibs-infra.bt.com> Message-ID: <01************ ************@et on.powernet.co. uk>
They appear similar to mine.
It seems to me that a new RH has appeared on the scene. He appears to
have finally seen how stupid all this posturing is.
Or, to look at it another way: Once one person admits that there exists
this charade of "chosing to behave as if (i.e., pretending) I didn't
know what OP is talking about", it basically ruins it for everybody.
So here, vippy, you've ruined it for everybody. I think RH sees that
there's no point in this little charade anymore.
"Richard Bos" <rl*@hoekstra-uitgeverij.nlwr ote in message
"Malcolm McLean" <re*******@btin ternet.comwrote :
><vi*******@gma il.comwrote in message news:
>I want to know how to read image files in C.. what are the headers
that i should include? is there any tutorials regarding this ? pls
inform me.
Basic Algorithms includes chapters on BMP, GIF and JPEG formats. Code is free to download.
And free to use? You have no license on your website that I can find, so
anyone thinking about using that code in a commercial context _has_ to
decide against it. If that's not your attention, you should make that
clear - not here, but in the code itself.
No, no sensible commercial person would worry about such a thing.
Successful businessmen have an instinctive feel for when rules can be bent.
(However MiniBasic has a special licence).
--
Free games and programming goodies. http://www.personal.leeds.ac.uk/~bgy1mm
Malcolm McLean wrote, On 08/10/08 19:37:
>
"Richard Bos" <rl*@hoekstra-uitgeverij.nlwr ote in message
>"Malcolm McLean" <re*******@btin ternet.comwrote :
>><vi*******@gm ail.comwrote in message news: I want to know how to read image files in C.. what are the headers that i should include? is there any tutorials regarding this ? pls inform me.
Basic Algorithms includes chapters on BMP, GIF and JPEG formats. Code is free to download.
And free to use? You have no license on your website that I can find, so anyone thinking about using that code in a commercial context _has_ to decide against it. If that's not your attention, you should make that clear - not here, but in the code itself.
No, no sensible commercial person would worry about such a thing.
Hmm. So you are saying that no sensible commercial person has any
morals. Personally I think you are wrong and there are a lot of
commercial people who do have morals and are concerned with sticking to
licensing terms. There are also a lot who are too concerned about being
caught breaking the rules to break them.
Of course you could have just stated whether or not you permit use in a
commercial context.
Successful businessmen have an instinctive feel for when rules can be bent.
Better and more successful ones know when they don't need to be bent.
(However MiniBasic has a special licence).
By your argument that won't do you any good because business people will
ignore it.
--
Flash Gordon
If spamming me sent it to sm**@spam.cause way.com
If emailing me use my reply-to address
See the comp.lang.c Wiki hosted by me at http://clc-wiki.net/
"Malcolm McLean" <re*******@btin ternet.comwrote :
"Richard Bos" <rl*@hoekstra-uitgeverij.nlwr ote in message
"Malcolm McLean" <re*******@btin ternet.comwrote :
<vi*******@gmai l.comwrote in message news:
I want to know how to read image files in C.. what are the headers
that i should include? is there any tutorials regarding this ? pls
inform me.
Basic Algorithms includes chapters on BMP, GIF and JPEG formats. Code is
free to download.
And free to use? You have no license on your website that I can find, so
anyone thinking about using that code in a commercial context _has_ to
decide against it. If that's not your attention, you should make that
clear - not here, but in the code itself.
No, no sensible commercial person would worry about such a thing.
Successful businessmen have an instinctive feel for when rules can be bent.
It's successful businessmen like those who keep patent landsharks in the
big money.
Richard
On 8 Oct, 19:37, "Malcolm McLean" <regniz...@btin ternet.comwrote :
"Richard Bos" <r...@hoekstr a-uitgeverij.nlwr ote in message
<snip>
And free to use? You have no license on your website that I can find, so
anyone thinking about using that code in a commercial context _has_ to
decide against it. If that's not your attention, you should make that
clear - not here, but in the code itself.
No, no sensible commercial person would worry about such a thing.
Successful businessmen have an instinctive feel for when rules can be bent.
I think you are mistaken. Deliberate copyright infringement
seems like a pretty bad idea. Never mind the morality
there's the possibility of being sued or at the least
some nasty publicity.
(However MiniBasic has a special licence).
--
Nick Keighley
"Flash Gordon" <sm**@spam.caus eway.comwrote in message
Malcolm McLean wrote, On 08/10/08 19:37:
>Successful businessmen have an instinctive feel for when rules can be bent.
>(However MiniBasic has a special licence).
By your argument that won't do you any good because business people will
ignore it.
No, successful business people also have an instintive feel for when rules
can't be bent. So MiniBasic has a licence that specifically permits passing
off the source code as your own, to cater for these people.
--
Free games and programming goodies. http://www.personal.leeds.ac.uk/~bgy1mm This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Weston C |
last post by:
I'm new to the GD/Image functions with PHP, and I'm trying to use them
to manipulate jpeg images that I've stored in a MySQL database
(specifically, creating thumbnails). The thing I can't tell from
reading the documentation is how to use these image functions to
operate on image data -- it looks like you get a GD image resource in
each case by specifying a file name, not by passing image data
directly. While I can see how that's...
|
by: PS |
last post by:
I want to display the image from database to picture box through ado.net and vb.net
I have some images present in a sql server 2000 table stored under 'image' datatype. I want to extract and display them in a picture box present in a vb.net form
I appreciate any help on this
Thanks
PS
|
by: Thomas |
last post by:
Hi all,
I'm in search of a fast solution to reading image dimensions. I know
you can get the image dimensions by loading a file into an image
object, and then reading the height/width properties, but this is
really slow (relatively speaking).
Another poster suggested I could read the image headers manually by
streaming the first X number of bytes of the file, but this is fairly
consuming approach and hoping there's another option.
|
by: Steve Tooke |
last post by:
I'm trying to find a way to quickly read image headers (specifically jpgs at
the moment) with out loading the whole image as an System.Imaging.Image.
Anybody point me in the right direction or am I going to need to write a
header parser from scratch?
|
by: Andy |
last post by:
Hello All:
I have a field in the database that is an Image. I have no idea how the
data is stored in here (Image, compressed, encrypted, plain text, etc). I am
trying to write the contents to a text file, image file, etc so I can see if
the data is stored in a way we can understand (we have been tasked to write
an app and the app needs to read this field, but we don't know what it really
contains).
How would I go about reading the...
| |
by: dale zhang |
last post by:
Hi,
I am trying to read an image from MS Access DB based on the following article:
http://www.vbdotnetheaven.com/Code/Sept2003/2175.asp
The article author is using PictureBox for windows application, while I am
doing for web. I can only find Image from web forms control and HTML control.
This may be the root cause of my problem. For read button, I converted his VB
to the C#. But the compiler complains:
|
by: dale zhang |
last post by:
Hi,
I am trying to save and read an image from MS Access DB based on the
following article:
http://www.vbdotnetheaven.com/Code/Sept2003/2175.asp
Right now, I saved images without any errors. After reading the ole object
from db, I saved it to C: as file1.bmp and displayed on the web. But it can
not be displayed. After I manually sent the file to wordpad, it shows
|
by: Chucker |
last post by:
Hi Community,
I think I can store Binary Data in SQL Server but when I try to retrieve it,
I always only get one byte.
I think I stored my Binary Data in SQL Server in a Colum of Type Image. At
least when I execute the following code, I get some significant network
traffic. When I check the database with query analyzer, I see 4 Hex Chars in
the image colum. Like 0xe0 etc.
|
by: anewbie |
last post by:
hi.
ive been searching for help with storing images in access. after much
hunting i found this bit of code that Cor Ligthert put up on another forum.
but when i try to update to the dataset, i get this error: system.argument.
exception in system.data.dll, cannot change data type of a column once it has
data.
for one thing my column is empty, for another, i get that message even when i
select "upload to dataset" without first selecting...
|
by: Ed |
last post by:
Hope someone can help me out...
I have been tasked to read some image data from an sql database and
save the files to flat files. OK, sounds easy as I'v used BLOBs
before. But this is an old database and I cannot get the image to
work.
The columns in the database are of type text. Here is one of the
images text (in full) in the database (I hope you can see it):
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |