Skip to content

Commit

Permalink
fixing MapServer#247 mixing format and mime_type
Browse files Browse the repository at this point in the history
  • Loading branch information
jachym committed Mar 31, 2021
1 parent d8d7173 commit 5993796
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/imageio_mixed.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ mapcache_image_format* mapcache_imageio_create_mixed_format(apr_pool_t *pool,
format->transparent = transparent;
format->opaque = opaque;
format->alpha_cutoff = alpha_cutoff;
format->format.extension = apr_pstrdup(pool,"xxx");
format->format.mime_type = NULL;
format->format.extension = apr_pstrdup(pool,"jpgpng");
format->format.mime_type = apr_pstrdup(pool,"image/jpgpng");
format->format.write = _mapcache_imageio_mixed_encode;
format->format.create_empty_image = transparent->create_empty_image;
format->format.metadata = apr_table_make(pool,3);
Expand Down

0 comments on commit 5993796

Please sign in to comment.