stuff
This commit is contained in:
parent
223158822b
commit
933e233357
@ -12,6 +12,7 @@
|
||||
- added im_float2rad()
|
||||
- added IM_CODING_RAD, support where it makes sense (extract, flip, rotate,
|
||||
etc.)
|
||||
- IM_PROGRESS env var
|
||||
|
||||
3/3/09 started 7.17.2
|
||||
- im_magick2vips.c: allow funky bit depths, like 14 (thanks Mikkel)
|
||||
|
@ -148,12 +148,6 @@ Modified:
|
||||
*/
|
||||
int im__progress = 0;
|
||||
|
||||
void
|
||||
im_progress_set( int progress )
|
||||
{
|
||||
im__progress = progress;
|
||||
}
|
||||
|
||||
/* Delayed save: if we write to TIFF or to JPEG format, actually do the write
|
||||
* to a "p" and on preclose do im_vips2tiff() or whatever. Track save
|
||||
* parameters here.
|
||||
@ -425,7 +419,7 @@ im_open( const char *filename, const char *mode )
|
||||
|
||||
/* Attach progress feedback, if required.
|
||||
*/
|
||||
if( im__progress ) {
|
||||
if( im__progress || g_getenv( "IM_PROGRESS" ) ) {
|
||||
Progress *progress = IM_NEW( im, Progress );
|
||||
|
||||
progress->im = im;
|
||||
|
Loading…
Reference in New Issue
Block a user