Bugs item #2792947, was opened at 2009-05-17 04:51
Message generated for change (Comment added) made by zelgadis_ksee
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=2792947&group_id=144022

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 7
Private: No
Submitted By: Gerco Ballintijn (gballintijn)
Assigned to: Nobody/Anonymous (nobody)
Summary: Importing a list of PNGs result in a assert(0) failure

Initial Comment:
When importing a list of PNGs, synfigstudio dies with an assert(0) failure 
(file: synfig-core/src/modules/mod_png/mptr_png.cpp, line: 412). This behavior 
was introduced in r2193 with the addition of the automatic cropping feature for 
PNG files. The assertion failure occurs only when importing *a list* of PNGs 
(not individual PNGs). It is probably enough to remove the assert(0), and not 
have the cropping feature for list of PNG's. On the other hand, the list 
importer might also be extended to perform the cropping operation over all PNGs 
in the list. We can start with the first and postpone the latter.

----------------------------------------------------------------------

Comment By: Konstantin Dmitriev (zelgadis_ksee)
Date: 2012-12-26 04:16

Message:
This bugtracker is no longer active. The issue is moved to the new
bugtracker - http://synfig.org/issues/thebuggenie/synfig

----------------------------------------------------------------------

Comment By: Gerco Ballintijn (gballintijn)
Date: 2009-07-30 08:29

Message:
The problem only occurs if you compile with debug on, otherwise the
assert(0) statement does nothing.

----------------------------------------------------------------------

Comment By: Konstantin Dmitriev (zelgadis_ksee)
Date: 2009-07-29 20:13

Message:
I can import list of png images (ListImporter) without any trouble on

Revision: 20090727
Branch: morevna
Revision ID: f63f232029f4244a78b54452825b12cf8a09a9a3

BUT, if png have transparency, it is crops each file independently - that
results in corrupted imported sequence (imported png's are scaled
differrently). I'm forced to use JPG for ListImporter.

I suggest to disable list importer for now and later extend ListImporter to
perform the
cropping operation over all PNGs in the list s gerco suggested.

----------------------------------------------------------------------

Comment By: Genete (genete)
Date: 2009-05-17 22:00

Message:
Also I've noticed that the cropping feature is enabled by default. It makes
older files to be read badly because the aspect ratio and size of the
imported image was ready for a non cropped one. So there are two solutions,
make a new canvas version so the old versions are never cropped and make
the environment variable for cropping available to the SETUP dialog and
remembered between sessions. At the moment it has to be set manually and by
default the crop feature is enabled.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=2792947&group_id=144022

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to