Michael Natterer
dd80b4c263
added new API gimp_drawable_estimate_memsize() and virtual function
...
2007-12-04 Michael Natterer <mitch@gimp.org >
* app/core/gimpdrawable.[ch]: added new API
gimp_drawable_estimate_memsize() and virtual function
GimpDrawable::estimate_memsize() which estimate the memsize of a
drawable after scaling/resizing.
* app/core/gimplayer.c: implement the virtual function and take
the layer mask into account.
* app/core/gimpimage-item-list.[ch] (gimp_image_item_list_get_list):
added const qualifiers.
* app/core/gimpimage-scale.c (gimp_image_scale_check): use the new
function to correctly estimate the new size instead of scaling the
drawables' memsizes including all constant parts. Fixes bug #329468 .
* app/gimp-log.[ch]: added IMAGE_SCALE log domain.
* app/core/gimpimage-scale.c: use it here for debugging output.
svn path=/trunk/; revision=24260
2007-12-04 11:30:31 +00:00
..
2007-01-29 23:21:41 +00:00
2007-01-29 23:21:41 +00:00
2007-11-02 12:18:50 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-22 10:09:09 +00:00
2006-12-09 21:33:38 +00:00
2007-04-30 17:26:15 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2007-09-13 14:19:30 +00:00
2007-09-13 14:19:30 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-22 10:09:09 +00:00
2006-04-02 15:37:25 +00:00
2007-02-10 10:37:20 +00:00
2006-12-09 21:33:38 +00:00
2007-09-12 17:28:24 +00:00
2007-09-10 15:29:48 +00:00
2007-10-23 21:27:19 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-22 10:09:09 +00:00
2006-12-09 21:33:38 +00:00
2007-10-31 21:53:05 +00:00
2006-12-09 21:33:38 +00:00
2007-11-16 18:19:30 +00:00
2007-11-16 18:19:30 +00:00
2007-11-16 18:19:30 +00:00
2006-12-09 21:33:38 +00:00
2007-05-22 18:52:11 +00:00
2007-05-22 18:52:11 +00:00
2006-12-09 21:33:38 +00:00
2007-06-04 10:43:31 +00:00
2006-12-09 21:33:38 +00:00
2007-08-08 08:35:45 +00:00
2007-06-06 08:44:52 +00:00
2007-11-16 18:19:30 +00:00
2007-03-14 00:18:01 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2007-03-29 14:09:12 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2007-03-09 13:00:01 +00:00
2006-12-09 23:15:59 +00:00
2007-11-16 18:19:30 +00:00
2006-12-09 21:33:38 +00:00
2007-03-09 13:00:01 +00:00
2007-08-15 16:40:39 +00:00
2007-03-09 13:00:01 +00:00
2006-12-09 21:33:38 +00:00
2007-09-12 18:29:11 +00:00
2007-03-05 20:21:23 +00:00
2007-01-30 16:53:20 +00:00
2007-01-29 08:40:40 +00:00
2007-01-31 12:33:03 +00:00
2007-01-31 12:33:03 +00:00
2007-11-01 08:15:38 +00:00
2006-12-09 21:33:38 +00:00
2007-11-16 18:19:30 +00:00
2006-12-09 21:33:38 +00:00
2007-11-16 18:19:30 +00:00
2006-12-09 21:33:38 +00:00
2007-03-09 13:00:01 +00:00
2006-12-09 21:33:38 +00:00
2007-11-02 12:18:50 +00:00
2007-11-02 12:18:50 +00:00
2007-11-15 12:19:13 +00:00
2007-11-02 12:18:50 +00:00
2007-11-05 10:02:20 +00:00
2007-11-05 10:02:20 +00:00
2007-01-12 20:27:40 +00:00
2007-01-12 20:27:40 +00:00
2007-11-16 18:19:30 +00:00
2006-12-09 21:33:38 +00:00
2007-06-14 11:30:12 +00:00
2006-12-09 21:33:38 +00:00
2006-12-10 19:13:58 +00:00
2006-12-09 21:33:38 +00:00
2007-09-12 18:29:11 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2007-10-23 21:27:19 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2007-08-08 08:35:45 +00:00
2006-12-09 21:33:38 +00:00
2007-10-12 13:14:43 +00:00
2006-12-09 21:33:38 +00:00
2007-11-28 08:09:31 +00:00
2007-09-10 15:29:48 +00:00
2007-12-04 11:30:31 +00:00
2007-12-04 11:30:31 +00:00
2007-11-16 18:19:30 +00:00
2007-01-31 19:56:41 +00:00
2007-11-16 18:19:30 +00:00
2006-12-09 21:33:38 +00:00
2007-02-03 21:58:12 +00:00
2007-02-03 21:58:12 +00:00
2007-05-23 10:22:09 +00:00
2006-12-09 21:33:38 +00:00
2007-06-06 08:44:52 +00:00
2006-12-09 21:33:38 +00:00
2007-11-04 19:14:32 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2007-01-30 16:53:20 +00:00
2007-01-30 12:32:14 +00:00
2007-10-15 20:17:56 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2007-10-06 17:51:13 +00:00
2006-12-09 21:33:38 +00:00
2007-09-12 18:29:11 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2007-05-31 13:08:19 +00:00
2006-12-09 21:33:38 +00:00
2007-07-19 14:59:51 +00:00
2006-12-09 21:33:38 +00:00
2007-01-30 10:34:59 +00:00
2006-12-09 21:33:38 +00:00
2007-02-28 08:57:17 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2007-01-29 23:21:41 +00:00
2006-12-09 21:33:38 +00:00
2007-12-04 11:30:31 +00:00
2007-12-04 11:30:31 +00:00
2007-11-13 19:09:41 +00:00
2006-12-09 21:33:38 +00:00
2007-07-16 13:49:17 +00:00
2006-12-09 21:33:38 +00:00
2007-07-19 14:59:51 +00:00
2006-12-09 21:33:38 +00:00
2007-07-17 19:38:10 +00:00
2006-12-09 21:33:38 +00:00
2007-07-20 08:23:29 +00:00
2007-07-20 08:23:29 +00:00
2007-06-09 17:17:30 +00:00
2007-06-09 17:17:30 +00:00
2007-02-28 08:57:17 +00:00
2006-12-09 21:33:38 +00:00
2007-03-09 13:00:01 +00:00
2007-01-30 10:34:59 +00:00
2007-12-04 11:30:31 +00:00
2006-12-09 21:33:38 +00:00
2007-03-09 13:00:01 +00:00
2006-12-09 21:33:38 +00:00
2007-02-03 22:25:32 +00:00
2007-02-02 10:55:38 +00:00
2007-02-03 22:25:32 +00:00
2007-02-03 22:25:32 +00:00
2007-11-16 18:19:30 +00:00
2007-09-20 21:23:05 +00:00
2007-12-02 18:05:54 +00:00
2006-12-09 21:33:38 +00:00
2007-11-05 09:17:29 +00:00
2006-12-09 21:33:38 +00:00
2007-11-16 18:19:30 +00:00
2007-02-02 10:55:38 +00:00
2007-09-10 15:29:48 +00:00
2007-09-10 15:29:48 +00:00
2007-06-11 19:26:31 +00:00
2006-12-09 21:33:38 +00:00
2007-10-09 15:59:04 +00:00
2007-09-10 15:29:48 +00:00
2007-11-16 18:19:30 +00:00
2007-02-02 10:55:38 +00:00
2007-01-30 16:53:20 +00:00
2006-12-09 21:33:38 +00:00
2007-07-19 14:59:51 +00:00
2006-12-09 21:33:38 +00:00
2007-12-04 11:30:31 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2007-01-31 18:50:39 +00:00
2007-01-31 18:50:39 +00:00
2007-05-03 15:18:53 +00:00
2007-01-31 12:33:03 +00:00
2007-01-30 16:53:20 +00:00
2007-01-28 20:10:45 +00:00
2007-01-31 12:33:03 +00:00
2007-01-31 12:33:03 +00:00
2006-12-10 19:13:58 +00:00
2007-11-02 13:30:14 +00:00
2007-06-26 21:39:51 +00:00
2007-11-16 18:19:30 +00:00
2007-01-30 22:53:18 +00:00
2007-11-16 18:19:30 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2007-08-07 13:42:55 +00:00
2006-12-09 21:33:38 +00:00
2007-08-07 13:42:55 +00:00
2007-08-07 13:42:55 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2007-11-16 18:19:30 +00:00
2006-12-14 12:02:05 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2007-10-31 18:18:55 +00:00
2007-10-31 18:18:55 +00:00
2007-11-16 18:19:30 +00:00
2006-04-12 12:49:29 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2007-11-16 18:19:30 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2007-12-02 18:05:54 +00:00
2006-12-09 21:33:38 +00:00
2007-05-02 17:26:26 +00:00
2007-05-02 17:15:03 +00:00
2007-11-16 18:19:30 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2007-07-23 20:14:28 +00:00
2006-12-09 21:33:38 +00:00
2007-11-30 19:23:17 +00:00
2007-06-26 21:39:51 +00:00
2007-05-23 10:22:09 +00:00
2007-01-30 10:34:59 +00:00
2007-01-30 16:53:20 +00:00
2007-01-30 12:32:14 +00:00
2007-05-23 10:22:09 +00:00
2006-12-09 21:33:38 +00:00
2007-10-06 12:30:28 +00:00
2007-04-30 17:26:15 +00:00
2006-12-09 21:33:38 +00:00
2006-12-09 21:33:38 +00:00
2007-01-12 20:27:40 +00:00
2006-12-09 21:33:38 +00:00
2007-02-27 11:03:18 +00:00
2007-02-27 11:03:18 +00:00
2007-06-06 10:13:44 +00:00
2006-12-09 21:33:38 +00:00
2007-07-17 10:04:06 +00:00
2006-12-10 19:13:58 +00:00
2006-12-16 00:20:26 +00:00
2006-12-11 15:16:13 +00:00
2006-12-11 15:16:13 +00:00
2006-12-11 15:16:13 +00:00
2007-11-16 18:19:30 +00:00
2007-02-06 09:05:04 +00:00
2007-11-16 18:19:30 +00:00
2006-12-09 21:33:38 +00:00
2007-05-23 10:22:09 +00:00
2006-12-09 21:33:38 +00:00
2007-11-16 18:19:30 +00:00
2007-12-01 10:57:22 +00:00
2007-11-02 12:18:50 +00:00
2007-08-26 18:59:34 +00:00