emacs-devel
[Top][All Lists]
Advanced

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

Re: png images in tool-bar / alpha mask


From: David Reitter
Subject: Re: png images in tool-bar / alpha mask
Date: Thu, 3 Apr 2008 22:42:47 +0100

On 3 Apr 2008, at 22:15, YAMAMOTO Mitsuharu wrote:

It seems to completely ignore postprocessing for PNG images.  Didn't
you say that "One could remove the reference to the original image as
soon as any kind of processing is done in order to maintain
compatibility."?

prepare_image_for_display sets data.ptr_val in the image structure as well.
What happens when the image is manipulated after it's been first drawn?

I assumed that data.ptr_val would be invalidated at that point, as is done in x_clear_image_1.

Are you concerned about postprocess_image?
One would have to invalidate the pointer and free the image when anything is done to the image there (x_build_heuristic_mask is called, or QCconversion is given).

Any other places where image manipulation can take place?


Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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