From: Anthony A. D. T. <aa...@ve...> - 2001-04-05 07:32:49
|
Here are patches to 0.6a that implement an embedded comment filter -- a configurable regexp to be removed from embedded comments. This is so that browsers don't have to see strings like CREATOR: XV Version 3.10a Rev: 12/29/94 Quality = 60, Smoothing = 0 as part of the embedded comments as displayed on the image page. I've factored out the Canon/Sony camera-specific strings that were previously hardcoded in the code and made them part of the default value for embeddedFilter. In the future I may extend this into a general-purpose modifier for embedded comments, allowing one to specify a sort of template, printf-style. Please forgive me if the patches are malformed. I haven't done this in a while. |