]> nos-oignons.net Git - gestion-adh.git/commitdiff
Utilisation d'une image JPEG plutôt que PNG pour s'accomoder à d'avantage de lecteurs...
authorLunar <lunar@anargeek.net>
Tue, 17 Dec 2013 16:13:56 +0000 (17:13 +0100)
committerLunar <lunar@anargeek.net>
Tue, 17 Dec 2013 16:14:00 +0000 (17:14 +0100)
lib/nos_oignons/receipt.rb
share/images/nos-oignons.jpg [new file with mode: 0644]
share/images/nos-oignons.png [deleted file]

index 87869f709a45917bc7876889d163ec008e96ca49..a1d0b75e3c845ebe766a6eb94634e9ff0e71b007 100644 (file)
@@ -31,7 +31,7 @@ module NosOignons
     FOOTER_HEIGHT = 25.mm
     DARK_LOGO_COLOR = '57075f'
     FONT_PATH = File.expand_path("../../../share/fonts/OpenSans/OpenSans.ttf", __FILE__)
-    LOGO_PATH = File.expand_path("../../../share/images/nos-oignons.png", __FILE__)
+    LOGO_PATH = File.expand_path("../../../share/images/nos-oignons.jpg", __FILE__)
 
     def generate_header(pdf)
       header_height = pdf.bounds.height / 6
diff --git a/share/images/nos-oignons.jpg b/share/images/nos-oignons.jpg
new file mode 100644 (file)
index 0000000..a70dd72
Binary files /dev/null and b/share/images/nos-oignons.jpg differ
diff --git a/share/images/nos-oignons.png b/share/images/nos-oignons.png
deleted file mode 100644 (file)
index a0543e1..0000000
Binary files a/share/images/nos-oignons.png and /dev/null differ