add changelog note
This commit is contained in:
parent
33d44e86fb
commit
a86f33769b
@ -5,6 +5,7 @@
|
|||||||
- revise caching of seq mode loaders [jcupitt]
|
- revise caching of seq mode loaders [jcupitt]
|
||||||
- reduce latency on dzsave kill [kleisauke]
|
- reduce latency on dzsave kill [kleisauke]
|
||||||
- improve text too large check [kleisauke]
|
- improve text too large check [kleisauke]
|
||||||
|
- fix subifd writing for small images [ruven]
|
||||||
|
|
||||||
24/7/22 started 8.13.1
|
24/7/22 started 8.13.1
|
||||||
- fix im7 feature detection in meson
|
- fix im7 feature detection in meson
|
||||||
|
@ -2114,7 +2114,6 @@ wtiff_page_start( Wtiff *wtiff )
|
|||||||
*/
|
*/
|
||||||
if( wtiff->subifd ) {
|
if( wtiff->subifd ) {
|
||||||
int n_layers;
|
int n_layers;
|
||||||
toff_t *subifd_offsets;
|
|
||||||
Layer *p;
|
Layer *p;
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
@ -2128,12 +2127,15 @@ wtiff_page_start( Wtiff *wtiff )
|
|||||||
for( n_layers = 0, p = wtiff->layer->below; p; p = p->below )
|
for( n_layers = 0, p = wtiff->layer->below; p; p = p->below )
|
||||||
n_layers += 1;
|
n_layers += 1;
|
||||||
|
|
||||||
if( n_layers > 0 ){
|
if( n_layers > 0 ) {
|
||||||
subifd_offsets = VIPS_ARRAY( NULL, n_layers, toff_t );
|
toff_t *subifd_offsets;
|
||||||
memset( subifd_offsets, 0, n_layers * sizeof( toff_t ) );
|
|
||||||
TIFFSetField( wtiff->layer->tif, TIFFTAG_SUBIFD,
|
subifd_offsets = VIPS_ARRAY( NULL, n_layers, toff_t );
|
||||||
n_layers, subifd_offsets );
|
memset( subifd_offsets,
|
||||||
g_free( subifd_offsets );
|
0, n_layers * sizeof( toff_t ) );
|
||||||
|
TIFFSetField( wtiff->layer->tif, TIFFTAG_SUBIFD,
|
||||||
|
n_layers, subifd_offsets );
|
||||||
|
g_free( subifd_offsets );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user