LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-24-2007, 06:45 AM   #1
manolakis
Member
 
Registered: Nov 2006
Distribution: xubuntu
Posts: 464

Rep: Reputation: 37
Coping a part of an image in C++


Hello all
I am really interested to make a program in C++ that copies a part of a .png image.
So is it any function that will return the image in a [N][M]array of pixels or whatever?
N & M stands for the maximum length of the row or the column.
What afterwards want to do is to copy up to [N-100][M] and return a new image.
Any help will be really nice.

Thanks
 
Old 09-24-2007, 07:22 AM   #2
kotnik
Member
 
Registered: Nov 2004
Location: Novi Sad, Serbia
Distribution: Debian, Slackware, Gentoo, openSuSE
Posts: 254

Rep: Reputation: 31
Use libpng. Don't reinvent the wheel
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
create image from a part of big image myrmidon Programming 3 07-11-2007 02:00 PM
Coping form CD IvanJ Linux - Software 3 07-20-2005 08:32 AM
Coping from working CD gives I/O Error... ShaanAli Linux - Software 9 08-15-2004 03:27 PM
Making shell script a part of linux image mayureshchitale Linux - Newbie 1 07-06-2004 01:00 AM
part image question ronen Linux - Software 4 05-09-2002 05:40 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration