Commit 11f05ec9 authored by Tom Gall's avatar Tom Gall Committed by Felix Riemann

Fix saving transformed JPEG images that don't transform perfectly

This could lead to a crash or break saving of these files with a
message about the image exceeding the maximum image dimensions for saving.
parent f8788a73
......@@ -120,6 +120,8 @@ init_transform_info (EogImage *image, jpeg_transform_info *info)
g_return_if_fail (EOG_IS_IMAGE (image));
memset (info, 0x0, sizeof (jpeg_transform_info));
priv = image->priv;
if (priv->trans != NULL && priv->trans_autorotate != NULL) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment