Brian J. Murrell | 18 Sep 15:39
Favicon

RFE: pixelate selected area

A really nice editing feature would be the ability to pixelate a
selected area of a photo.  The use case is for uploading photos to a web
gallery but perhaps there are people in the picture who don't want their
faces splashed all over the web.

Thanx,
b.

_______________________________________________
F-spot-list mailing list
F-spot-list <at> gnome.org
http://mail.gnome.org/mailman/listinfo/f-spot-list
Barney | 18 Sep 16:42
Favicon

Re: RFE: pixelate selected area

On Thu, Sep 18, 2008 at 09:41:29AM -0400, Brian J. Murrell wrote:
> A really nice editing feature would be the ability to pixelate a
> selected area of a photo.  The use case is for uploading photos to a web
> gallery but perhaps there are people in the picture who don't want their
> faces splashed all over the web.

I think that would be quite a bad idea, as it just leads to a false
sense of anonymity. If the pixels are small enough that you can see
that there's a face underneeth then you might be able to recognise the
person, especially with further processing. If not, you might as well
remove the face from the image entirely.

On that basis, I think a better feature would be one to fill a
selection with a solid colour, but perhaps its best left for an actual
image editing app.
Brian J. Murrell | 18 Sep 17:26
Favicon

Re: RFE: pixelate selected area

On Thu, 2008-09-18 at 15:42 +0100, Barney wrote:
> 
> I think that would be quite a bad idea, as it just leads to a false
> sense of anonymity.

How do you figure?

> If the pixels are small enough 

LOL.  Yeah, well.  I thought everyone would assume that I meant a
pixelation with ideally, a selectable pixel size or at least a size well
chosen relative to the area being pixelated.

> that you can see
> that there's a face underneeth then you might be able to recognise the
> person, especially with further processing.

Oh, like that CSI crime lab stuff where they zoom in 10s of times on a
photo and invent clarity in pictures where it simply doesn't exist?

> On that basis, I think a better feature would be one to fill a
> selection with a solid colour,

Sure, that's an alternative for sure.

> but perhaps its best left for an actual
> image editing app.

I see this argument over and over again.  For simple operations such a
solid fill (as you suggest) or a pixelization, why have to pay the
(Continue reading)

Brian J. Murrell | 19 Sep 04:45
Favicon

Re: RFE: pixelate selected area

On Thu, 2008-09-18 at 09:41 -0400, Brian J. Murrell wrote:
> A really nice editing feature would be the ability to pixelate a
> selected area of a photo.  The use case is for uploading photos to a web
> gallery but perhaps there are people in the picture who don't want their
> faces splashed all over the web.

To put my money where my mouth is (or code where my fingers are), here
is a patch for an addin to black out a selected area in a photograph:

diff -Nur ../f-spot-0.5.0/extensions/Editors/BlackoutEditor/BlackoutEditor.addin.xml ./extensions/Editors/BlackoutEditor/BlackoutEditor.addin.xml
--- ../f-spot-0.5.0/extensions/Editors/BlackoutEditor/BlackoutEditor.addin.xml	1969-12-31
19:00:00.000000000 -0500
+++ ./extensions/Editors/BlackoutEditor/BlackoutEditor.addin.xml	2008-09-18
20:31:16.000000000 -0400
@@ -0,0 +1,15 @@
+<Addin namespace="FSpot"
+	id="BlackoutEditor"
+	version="0.5.0.0"
+	name="BlackoutEditor"
+	description="Blackouts the image horizontally."
+	author="Ruben Vermeersch"
+	url="http://f-spot.org/Extensions"
+	category="Editors">
+	<Dependencies>
+		<Addin id="Core" version="0.5.0.0"/>
+	</Dependencies>
+	<Extension path = "/FSpot/Editors">
+		<Editor editor_type = "FSpot.Addins.Editors.BlackoutEditor"/>
+	</Extension>
+</Addin>
(Continue reading)

Brian J. Murrell | 19 Sep 05:34
Favicon

Re: RFE: pixelate selected area

On Thu, 2008-09-18 at 22:45 -0400, Brian J. Murrell wrote:
> 
> Pixelate is next.

Find pixelate below...

> I wonder if I can find a nice easy pixelate algorithm
> to implement or if I will have to invent my own.

Heh.  Lazy man's pixelate: scale down then back up.  :-)

diff --exclude .svn -Nur ../f-spot-0.5.0/extensions/Editors/PixelateEditor/Makefile ./extensions/Editors/PixelateEditor/Makefile
--- ../f-spot-0.5.0/extensions/Editors/PixelateEditor/Makefile	1969-12-31 19:00:00.000000000 -0500
+++ ./extensions/Editors/PixelateEditor/Makefile	2008-09-18 22:53:32.000000000 -0400
@@ -0,0 +1,29 @@
+all: PixelateEditor.dll
+
+PACKAGES = \
+	-pkg:f-spot \
+	-pkg:gtk-sharp-2.0
+
+ASSEMBLIES = \
+	-r:Mono.Posix
+
+RESOURCES = \
+	-resource:PixelateEditor.addin.xml
+
+SOURCES = \
+	PixelateEditor.cs
+
(Continue reading)

Lorenzo Milesi | 19 Sep 07:45
Favicon

Re: RFE: pixelate selected area

Il giorno gio, 18/09/2008 alle 23.34 -0400, Brian J. Murrell ha scritto:
> Heh.  Lazy man's pixelate: scale down then back up.  :-)

hi
please post patch on bugzilla, or they will get lost in the ages of
time! :)

thanks!
maxxer

--

-- 
Lorenzo Milesi - lorenzo.milesi <at> yetopen.it

YetOpen S.r.l. - http://www.yetopen.it/
C.so E. Filiberto, 74 23900 Lecco - ITALY -
Tel 0341 220 205 - Fax 178 607 8199

GPG/PGP Key-Id: 0xE704E230 - http://keyserver.linux.it

-------- D.Lgs. 196/2003 --------

Si avverte che tutte le informazioni contenute in questo messaggio sono
riservate ed a uso esclusivo del destinatario. Nel caso in cui questo
messaggio Le fosse pervenuto per errore, La invitiamo ad eliminarlo
senza copiarlo, a non inoltrarlo a terzi e ad avvertirci non appena
possibile.
Grazie.
Brian J. Murrell | 19 Sep 16:35
Favicon

Re: RFE: pixelate selected area

On Fri, 2008-09-19 at 07:45 +0200, Lorenzo Milesi wrote:
> 
> hi
> please post patch on bugzilla, or they will get lost in the ages of
> time! :)

Done.  Hopefully they make it into a release now.  :-)

b.

_______________________________________________
F-spot-list mailing list
F-spot-list <at> gnome.org
http://mail.gnome.org/mailman/listinfo/f-spot-list
Stephane Delcroix | 19 Sep 16:37
Gravatar

Re: RFE: pixelate selected area

as it's an extension, we can already make it available for everyone
using 0.5.0

s

On Fri, 2008-09-19 at 10:35 -0400, Brian J. Murrell wrote:
> On Fri, 2008-09-19 at 07:45 +0200, Lorenzo Milesi wrote:
> > 
> > hi
> > please post patch on bugzilla, or they will get lost in the ages of
> > time! :)
> 
> Done.  Hopefully they make it into a release now.  :-)
> 
> b.
> 
> _______________________________________________
> F-spot-list mailing list
> F-spot-list <at> gnome.org
> http://mail.gnome.org/mailman/listinfo/f-spot-list

Gmane