Page MenuHomePhabricator

evas-images4 example work incorrectly
Closed, ResolvedPublic

Description

Steps to reproduce:

  1. Launch evas-images4 example
  2. Press '1'
  3. Press 's'

Result:

ERR<4755>:evas_filter modules/evas/engines/software_generic/evas_engine.c:1536 eng_image_data_map() invalid region for colorspace 0: 720x420 + 0,0, image: 420x720
ERR<4755>:evas_main lib/evas/canvas/evas_object_image.c:1008 _efl_canvas_image_internal_efl_file_save() Could not get image pixels for saving.
Cannot save image to '/tmp/evas-images4-example.jpg' (flags 'quality=100')

Expected: image saved normaly

NikaWhite created this task.Aug 4 2017, 1:52 AM
bu5hm4n triaged this task as High priority.
bu5hm4n moved this task from Backlog to rendering on the efl board.Jun 10 2018, 12:32 PM
zmike edited projects, added Restricted Project; removed efl.Jun 11 2018, 6:51 AM
segfaultxavi edited projects, added efl: rendering; removed Restricted Project.Jun 11 2018, 7:14 AM

I would like to add a check in the test suite for this case, so this does not happen again.

Also, do you know of any other thing I could run to verify this solution does not break anything else? @raster @zmike @bu5hm4n ?

Doesn't ephoto have rotation+saving?

Ok, will check.

segfaultxavi added a comment.EditedJun 13 2018, 12:22 AM

ephoto does have buttons to Rotate and Save as, but I cannot test it right now because the UI is so badly mangled for me (see T6078).

Rotation+Save in ephoto has the same problem as evas-image4 ("invalid region for colorspace..."). This patch also fixes ephoto.