0

For instance, let's say I have two images preferably jpeg/bmp that are 128x128 - I would like the code to stitch them together so the resulting image is 256x128.
I want a c++ program for it..is it possible using files in c++.

2
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by Salem
0

Sure it's possible.

My questions
- how much C++ do you know to begin with?
- which OS/Compiler are you using?
- which graphics library are you using?

0

- SCHOOL LEVEL( 11th and 12TH std.) and I am not very good
with files but this program needs to be made using files

- WINDOWS/ TC COMPILER

- graphics.h but are you sure that a graphics library
would be needed

0

http://en.wikipedia.org/wiki/BMP_file_format
Reading BMP files is easy. They're little more than a dump of the pixels.
Start simple - write a program which just prints out the width and height of any BMP file you give it.

> but are you sure that a graphics library would be needed
For JPG yes.
If you want to decode JPG from scratch, you need a lot more experience, probably university level maths and a lot of time to spare.

I might suggest you get a compiler that isn't older than you are. TC effectively became obsolete 20 years ago.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.