[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XForms] image editing

From: Rick Engebretson
Subject: Re: [XForms] image editing
Date: Sat, 5 Nov 2016 12:32:40 -0500
User-agent: Mozilla/5.0 (X11; Linux i686; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40

Looking more closely at the library code, and running the application from a terminal with some output messages, it seems the basic editing capability works by using image type FL_IMAGE_RGB instead of FL_IMAGE_PACKED.

The PACKED type gets converted to RGB image type, and a new ximage is never redrawn after editing the image data. Using flimage->modified = 1 now works as described. Not sure this is a bug, but the code is very helpful and clear.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]