<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -23,6 +23,8 @@ DEFAULT_OPTIONS = {
 
   :color =&gt; false,
 
+  :web_format =&gt; :png,
+
   :paper =&gt; :letter,
   :orientation =&gt; :landscape,
 
@@ -227,7 +229,7 @@ def jpeg_from_image_file( jpeg_file, image_file )
 end
 
 def png_from_file( png_file, image_file, high_res, is_svg, &amp;height_calc )
-  temp_png_file = &quot;#{ png_file }.temp&quot;
+  temp_png_file = &quot;#{ png_file }.uncrushed&quot;
   file png_file =&gt; [ image_file ] do
     height = height_calc.call image_file
     
@@ -488,7 +490,7 @@ EOS
         begin
           geometry = &quot;#{ ( bbox[0].end - bbox[0].begin ).round }x#{ ( bbox[1].end - bbox[1].begin ).round }&quot;
           # straightforward image -&gt; eps conversion doesn't work for spreads, write to temp png to work around this
-          temp_png_image = &quot;#{document}.temp&quot;
+          temp_png_image = &quot;#{document}.intermediate&quot;
           sh &quot;convert&quot;, &quot;-crop&quot;, &quot;#{geometry}+#{ bbox[0].begin.round }+#{ bbox[1].begin.round }&quot;, &quot;+repage&quot;, document, &quot;png:#{temp_png_image}&quot;
           sh &quot;convert&quot;, &quot;png:#{temp_png_image}&quot;, &quot;+repage&quot;, &quot;eps:-&quot;
           rm temp_png_image
@@ -704,11 +706,11 @@ def initialize( dir, options={} )
       task temp_page_png =&gt; [ scratch_dir ]
       
       case @options[:web_format]
-      when :png
-        web_page_image = File.join( web_dir, &quot;#{ web_name }.png&quot; )
-        temp_page_png = web_page_image
       when :jpg, :jpeg
         web_page_image = File.join( web_dir, &quot;#{ web_name }.jpeg&quot; )
+      else
+        web_page_image = File.join( web_dir, &quot;#{ web_name }.png&quot; )
+        temp_page_png = web_page_image
       end
 
       task web_page_image =&gt; [ web_dir ]</diff>
      <filename>lib/minicomic.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>26dec7365ea98b7a3020b049f27b7a59b5d10850</id>
    </parent>
  </parents>
  <author>
    <name>MenTaLguY</name>
    <email>mental@rydia.net</email>
  </author>
  <url>http://github.com/mental/minicomic/commit/ecd7c88d128b680bac5e89fb490f3967078a2012</url>
  <id>ecd7c88d128b680bac5e89fb490f3967078a2012</id>
  <committed-date>2007-10-14T11:05:37-07:00</committed-date>
  <authored-date>2007-10-14T11:05:37-07:00</authored-date>
  <message>fix web png generation</message>
  <tree>a434a5b50cc16b3a0168970d1fd3ce1ba13ace51</tree>
  <committer>
    <name>MenTaLguY</name>
    <email>mental@rydia.net</email>
  </committer>
</commit>
