Synfig Issue Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
OPEN  Bug report #697  -  CairoRender : Importing jpeg and bmp files does not work
Posted Oct 27, 2014 - updated Jan 05, 2019
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
Issue details
  • Type of issue
    Bug report
  • Status
     
    New
  • Assigned to
    Not assigned to anyone
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     loving~susssu
  • Owned by
    Not owned by anyone
  • Category
    Import
  • Resolution
    Not determined
  • Priority
    Not determined
  • Targetted for
    icon_milestones.png 1.0
  • Tags
    icon_customdatatype.png cairo, import
  • Difficulty
    icon_customdatatype.png Not determined
Issue description
Synfig 0.65.0-20141024_i386 version Ubuntu 14.04 32-bit

Importing JPEG and BMP files resuilts in importing empty images. PNG import works fine.

https://www.youtube.com/watch?v=bdpBfr0cOiI&feature=youtu.be
Steps to reproduce this issue
Open Synfig Import JPEG or BMP file (either by droppong or going File->Import...) See the image layer appearing in the layers panel and see the outline of the image.

#2
Comment posted by
 djay
Oct 28, 09:47
'Info' The cairo rendering mode (workarea or project output) (actually?) only read png external files.

You can setup the workarea mode by the setup dialog : http://wiki.synfig.org/wiki/Setup_Dialog#Render_Tab
#5
Comment posted by
 djay
Dec 16, 11:32
"The function we have to use is the set_source_pixbuf, since loading images in this way is slower we first create a new Cairo::Context containing the pixbuf and on the on_expose_event of the gtkmm widget we simply copy the image."

http://kapo-cpp.blogspot.fr/2008/01/drawing-pixbuf-to-cairo-context-2.html