Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/image_save.c
| Show First 20 Lines • Show All 129 Lines • ▼ Show 20 Lines | if (colormanaged_ibuf != ibuf) { | ||||
| ibuf->planes = colormanaged_ibuf->planes; | ibuf->planes = colormanaged_ibuf->planes; | ||||
| IMB_freeImBuf(colormanaged_ibuf); | IMB_freeImBuf(colormanaged_ibuf); | ||||
| } | } | ||||
| } | } | ||||
| /** | /** | ||||
| * \return success. | * \return success. | ||||
| * \note ``ima->filepath`` and ``ibuf->name`` should end up the same. | * \note `ima->filepath` and `ibuf->name` should end up the same. | ||||
| * \note for multiview the first ``ibuf`` is important to get the settings. | * \note for multi-view the first `ibuf` is important to get the settings. | ||||
| */ | */ | ||||
| static bool image_save_single(ReportList *reports, | static bool image_save_single(ReportList *reports, | ||||
| Image *ima, | Image *ima, | ||||
| ImageUser *iuser, | ImageUser *iuser, | ||||
| ImageSaveOptions *opts, | ImageSaveOptions *opts, | ||||
| bool *r_colorspace_changed) | bool *r_colorspace_changed) | ||||
| { | { | ||||
| void *lock; | void *lock; | ||||
| ▲ Show 20 Lines • Show All 306 Lines • Show Last 20 Lines | |||||