File tree Expand file tree Collapse file tree 3 files changed +11
-12
lines changed Expand file tree Collapse file tree 3 files changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -503,7 +503,6 @@ vips_foreign_load_pdf_header(VipsForeignLoad *load)
503
503
VipsForeignLoadPdf * pdf = (VipsForeignLoadPdf * ) load ;
504
504
505
505
int top ;
506
- int i ;
507
506
508
507
#ifdef DEBUG
509
508
printf ("vips_foreign_load_pdf_header: %p\n" , pdf );
@@ -535,7 +534,7 @@ vips_foreign_load_pdf_header(VipsForeignLoad *load)
535
534
pdf -> image .top = 0 ;
536
535
pdf -> image .width = 0 ;
537
536
pdf -> image .height = 0 ;
538
- for (i = 0 ; i < pdf -> n ; i ++ ) {
537
+ for (int i = 0 ; i < pdf -> n ; i ++ ) {
539
538
if (vips_foreign_load_pdf_get_page (pdf , pdf -> page_no + i ))
540
539
return -1 ;
541
540
pdf -> pages [i ].left = 0 ;
@@ -576,7 +575,7 @@ vips_foreign_load_pdf_header(VipsForeignLoad *load)
576
575
/* If all pages are the same height, we can tag this as a toilet roll
577
576
* image.
578
577
*/
579
- for (i = 1 ; i < pdf -> n ; i ++ )
578
+ for (int i = 1 ; i < pdf -> n ; i ++ )
580
579
if (pdf -> pages [i ].height != pdf -> pages [0 ].height )
581
580
break ;
582
581
Original file line number Diff line number Diff line change @@ -1018,7 +1018,7 @@ typedef enum {
1018
1018
* @VIPS_FOREIGN_DZ_CONTAINER_ZIP: write tiles to a zip file
1019
1019
* @VIPS_FOREIGN_DZ_CONTAINER_SZI: write to a szi file
1020
1020
*
1021
- * How many pyramid layers to create .
1021
+ * What container format to use .
1022
1022
*/
1023
1023
typedef enum {
1024
1024
VIPS_FOREIGN_DZ_CONTAINER_FS ,
Original file line number Diff line number Diff line change 60
60
61
61
/**
62
62
* VipsKernel:
63
- * @VIPS_KERNEL_NEAREST: The nearest pixel to the point.
64
- * @VIPS_KERNEL_LINEAR: Convolve with a triangle filter.
65
- * @VIPS_KERNEL_CUBIC: Convolve with a cubic filter.
66
- * @VIPS_KERNEL_MITCHELL: Convolve with a Mitchell kernel.
67
- * @VIPS_KERNEL_LANCZOS2: Convolve with a two-lobe Lanczos kernel.
68
- * @VIPS_KERNEL_LANCZOS3: Convolve with a three-lobe Lanczos kernel.
69
- * @VIPS_KERNEL_MKS2013: Convolve with Magic Kernel Sharp 2013.
70
- * @VIPS_KERNEL_MKS2021: Convolve with Magic Kernel Sharp 2021.
63
+ * @VIPS_KERNEL_NEAREST: the nearest pixel to the point
64
+ * @VIPS_KERNEL_LINEAR: convolve with a triangle filter
65
+ * @VIPS_KERNEL_CUBIC: convolve with a cubic filter
66
+ * @VIPS_KERNEL_MITCHELL: convolve with a Mitchell kernel
67
+ * @VIPS_KERNEL_LANCZOS2: convolve with a two-lobe Lanczos kernel
68
+ * @VIPS_KERNEL_LANCZOS3: convolve with a three-lobe Lanczos kernel
69
+ * @VIPS_KERNEL_MKS2013: convolve with Magic Kernel Sharp 2013
70
+ * @VIPS_KERNEL_MKS2021: convolve with Magic Kernel Sharp 2021
71
71
*
72
72
* The resampling kernels vips supports. See [method@Image.reduce], for example.
73
73
*/
You can’t perform that action at this time.
0 commit comments