Bugs item #2792947, was opened at 2009-05-17 13:51 Message generated for change (Comment added) made by gballintijn 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: Gerco Ballintijn (gballintijn) Date: 2009-07-30 17: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-30 05: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-18 07: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 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Synfig-devl mailing list Synfig-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synfig-devl