imagesize function returns the number of bytes required to store a bitimage. This function is used when we are using getimage.Syntax:
unsigned int imagesize(int left, int top, int right, int bottom);Example:
int gd = DETECT, gm, bytes;
initgraph(&gd, &gm, "C:\\TC\\BGI");
circle(200, 200, 50);
line(150, 200, 250, 200);
line(200, 150, 200, 250);
bytes = imagesize(150, 150, 250, 250);
sprintf(array, "Number of bytes required to store required area = %d", bytes);
outtextxy(10, 280, array);
All information of this service is derived from the free sources and is provided solely in the form of quotations.
This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 437 / 158799461. Delta: 0.01150 с