Revision: 2480
http://jamwiki.svn.sourceforge.net/jamwiki/?rev=2480&view=rev
Author: wrh2
Date: 2009-02-26 02:33:57 +0000 (Thu, 26 Feb 2009)
Log Message:
-----------
Images:
* When uploading a non-image an IOException will be thrown, so update the
ImageUtil.isImage function to handle it.
Modified Paths:
--------------
wiki/trunk/jamwiki-core/src/main/java/org/jamwiki/utils/ImageUtil.java
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

Thread view

Revision: 2461
http://jamwiki.svn.sourceforge.net/jamwiki/?rev=2461&view=rev
Author: wrh2
Date: 2009-02-04 04:31:13 +0000 (Wed, 04 Feb 2009)
Log Message:
-----------
Images:
* ImageIO.read() can return null, so log an error when that occurs.
* Throw IOException rather than general Exception where possible.
Modified Paths:
--------------
wiki/trunk/jamwiki-core/src/main/java/org/jamwiki/utils/ImageUtil.java
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

Revision: 2480
http://jamwiki.svn.sourceforge.net/jamwiki/?rev=2480&view=rev
Author: wrh2
Date: 2009-02-26 02:33:57 +0000 (Thu, 26 Feb 2009)
Log Message:
-----------
Images:
* When uploading a non-image an IOException will be thrown, so update the
ImageUtil.isImage function to handle it.
Modified Paths:
--------------
wiki/trunk/jamwiki-core/src/main/java/org/jamwiki/utils/ImageUtil.java
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

Revision: 3075
http://jamwiki.svn.sourceforge.net/jamwiki/?rev=3075&view=rev
Author: wrh2
Date: 2010-06-04 05:53:11 +0000 (Fri, 04 Jun 2010)
Log Message:
-----------
Performance:
* The image parser was previously always resizing images, even if a resized
image already existed on the filesystem - clearly I wrote that code after
drinking. Instead, first check the filesystem for an already-existing
resized image. This makes a very, very big difference on pages with lots
of images.
Modified Paths:
--------------
wiki/trunk/jamwiki-core/src/main/java/org/jamwiki/utils/ImageUtil.java
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

Revision: 3206
http://jamwiki.svn.sourceforge.net/jamwiki/?rev=3206&view=rev
Author: wrh2
Date: 2010-09-11 05:35:39 +0000 (Sat, 11 Sep 2010)
Log Message:
-----------
Images:
* Fix an NPE when looking up an image if it doesn't exist.
* Use FileInputStream to workaround bugs on some operating systems.
* Delay the Graphics2D.dispose() call until the object is no longer needed.
Modified Paths:
--------------
wiki/trunk/jamwiki-core/src/main/java/org/jamwiki/utils/ImageUtil.java
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.