Searched defs:height (Results 1 - 8 of 8) sorted by relevance

/PHP_5_3/ext/gd/libgd/
H A Dgd_gif_in.c97 static void ReadImage (gdImagePtr im, gdIOCtx *fd, int len, int height, unsigned char (*cmap)[256], int interlace, int *ZeroDataBlockP); /*1.4//, int ignore); */
186 int width, height; local
219 height = LM_to_uint(buf[6], buf[7]);
221 if (left + width > screen_width || top + height > screen_height) {
228 if (!(im = gdImageCreate(width, height))) {
237 ReadImage(im, fd, width, height, localColorMap,
244 ReadImage(im, fd, width, height,
546 ReadImage(gdImagePtr im, gdIOCtx *fd, int len, int height, unsigned char (*cmap)[256], int interlace, int *ZeroDataBlockP) /*1.4//, int ignore) */ argument
612 if (ypos >= height) {
629 if (ypos >= height)
[all...]
H A Dgd_png.c123 png_uint_32 width, height, rowbytes, w, h; local
192 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, &interlace_type, NULL, NULL);
195 im = gdImageCreateTrueColor((int) width, (int) height);
197 im = gdImageCreate((int) width, (int) height);
322 image_data = (png_bytep) safe_emalloc(rowbytes, height, 0);
324 row_pointers = (png_bytepp) safe_emalloc(height, sizeof(png_bytep), 0);
327 for (h = 0; h < height; ++h) {
358 for (h = 0; h < height; h++) {
371 for (h = 0; h < height; h++) {
391 for (h = 0; h < height;
466 int height = im->sy; local
[all...]
H A Dwbmp.c111 createwbmp (int width, int height, int color) argument
123 if (overflow2(sizeof (int) * width, height)) {
128 if ((wbmp->bitmap = (int *) safe_emalloc(sizeof(int), width * height, 0)) == NULL)
135 wbmp->height = height;
137 for (i = 0; i < width * height; wbmp->bitmap[i++] = color);
177 wbmp->height = getmbi (getin, in);
178 if (wbmp->height == -1)
185 printf ("W: %d, H: %d\n", wbmp->width, wbmp->height);
189 overflow2(sizeof (int) * wbmp->width, wbmp->height))
[all...]
H A Dwbmp.h31 int height; /* height of the image */ member in struct:Wbmp_
46 Wbmp *createwbmp( int width, int height, int color );
H A Dxbm.c39 unsigned int width = 0, height = 0; local
66 if (!strcmp("height", type)) {
67 height = (unsigned int) value;
80 bytes = (width * height / 8) + 1;
99 if(!(im = gdImageCreate(width, height))) {
/PHP_5_3/ext/standard/
H A Dimage.c63 unsigned int height; member in struct:gfxinfo
113 result->height = (unsigned int)dim[2] | (((unsigned int)dim[3])<<8);
135 result->height = (((unsigned int)dim[0]) << 24) + (((unsigned int)dim[1]) << 16) + (((unsigned int)dim[2]) << 8) + ((unsigned int)dim[3]);
160 result->height = (((unsigned int)dim[ 7]) << 8) + ((unsigned int) dim[ 6]);
165 result->height = (((unsigned int)dim[11]) << 24) + (((unsigned int)dim[10]) << 16) + (((unsigned int)dim[ 9]) << 8) + ((unsigned int) dim[ 8]);
252 result->height = (php_swf_get_bits (b, 5 + (3 * bits), bits) -
282 result->height = (php_swf_get_bits (a, 5 + (3 * bits), bits) -
313 result->height = (((unsigned int)dim[4]) << 24) + (((unsigned int)dim[5]) << 16) + (((unsigned int)dim[6]) << 8) + ((unsigned int)dim[7]);
498 result->height = php_read2(stream TSRMLS_CC);
628 result->height
803 size_t ifd_size, dir_size, entry_value, width=0, height=0, ifd_addr; local
885 short width, height, bits; local
942 int i, width = 0, height = 0; local
1016 unsigned int width = 0, height = 0; local
[all...]
/PHP_5_3/ext/gd/
H A Dgd.c386 ZEND_ARG_INFO(0, height)
1494 * byte 12-15: (int) pixel height of each character
1497 * (nchars*width*height) bytes.
2413 long srcx, srcy, width, height; local
2421 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sllll", &file, &file_len, &srcx, &srcy, &width, &height) == FAILURE) {
2424 if (width < 1 || height < 1) {
2425 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Zero width or height not allowed");
2471 im = (*ioctx_func_p)(io_ctx, srcx, srcy, width, height);
2493 im = (*func_p)(fp, srcx, srcy, width, height);
2611 /* {{{ proto resource imagecreatefromgd2part(string filename, int srcX, int srcY, int width, int height)
4545 long height, width, threshold; local
[all...]
/PHP_5_3/ext/exif/
H A Dexif.c129 ZEND_ARG_INFO(1, height)
1504 size_t width, height; member in struct:__anon9
1599 size_t height; member in struct:__anon13
2285 result->height = php_jpg_get16(Data+3);
2953 ImageInfo->Thumbnail.height = exif_convert_any_to_int(value_ptr, format, ImageInfo->motorola_intel TSRMLS_CC);
3442 ImageInfo->Height = sof_info.height;
3477 if (!ImageInfo->Thumbnail.width && !ImageInfo->Thumbnail.height) {
3524 ImageInfo->Thumbnail.height = sof_info.height;
3527 exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_NOTICE, "Thumbnail: size: %d * %d", sof_info.width, sof_info.height);
[all...]

Completed in 21 milliseconds