From ff9e0445d78711e3b5933ddc63bf4bcf949dd855 Mon Sep 17 00:00:00 2001 From: yomguy Date: Mon, 16 May 2011 12:45:46 +0000 Subject: [PATCH] no watermark on spectrogram for now --- timeside/grapher/core.py | 3 ++- timeside/grapher/spectrogram.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/timeside/grapher/core.py b/timeside/grapher/core.py index 7cb954a..0c24be9 100644 --- a/timeside/grapher/core.py +++ b/timeside/grapher/core.py @@ -547,7 +547,8 @@ class SpectrogramImage(object): self.pixel_cursor += 1 def watermark(self, text, color=None, opacity=.6, margin=(10,10)): - self.image = im_watermark(self.image, text, color=color, opacity=opacity, margin=margin) + #self.image = im_watermark(self.image, text, color=color, opacity=opacity, margin=margin) + pass def save(self, filename): """ Apply last 2D transforms and write all pixels to the file. """ diff --git a/timeside/grapher/spectrogram.py b/timeside/grapher/spectrogram.py index fa80a92..6ad66ff 100644 --- a/timeside/grapher/spectrogram.py +++ b/timeside/grapher/spectrogram.py @@ -70,5 +70,5 @@ class Spectrogram(Processor): return self.graph.image def watermark(self, text, font=None, color=(255, 255, 255), opacity=.6, margin=(5,5)): - self.graph.watermark(text, color=color, opacity=opacity, margin=margin) + self.graph.watermark(text, color=color, opacity=0.9, margin=margin) -- 2.39.5