You have made an application ???????
its just a 2 line simple comand, example:
1. Image = imread('Image.gif'); % this loads the image matrix
2. [x,y] = size(image); % this stores the dimensions in x and y
now if you want to read them in c++ or any other app. save them as ascii and just call them in your program.
Try visiting the image processing sections of mathworks (matlab's parent company) or kluid (
www.kluid.com) its a matlab forum.
b4 : ]