No writer for the 'gif' picture format. No writer for the 'gif' picture format.
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

No writer for the 'gif' picture format.

Started by Αndré, August 14, 2008, 08:27:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Αndré

When i try to upload a gif picture with JUpload, the above error message appears.

Here the debug output:
Quote08:26:41.045 [DEBUG] Action : Hochladen
08:26:41.045 [DEBUG] Upload done by using the wjhk.jupload2.upload.FileUploadThreadHTTP class
08:26:41.045 [DEBUG] Timer started
08:26:41.045 [DEBUG] Resizing factor (scale): 833.3333333333334
08:26:41.045 [DEBUG] Foud one reader for gif extension
08:26:41.045 [DEBUG] Nb images in ausrufezeichen_klein.gif: 1
08:26:41.045 [DEBUG] Using transformed temp file C:\DOKUME~1\xyz\LOKALE~1\Temp\jupload_23707.tmp for ausrufezeichen_klein.gif
08:26:41.076 [DEBUG] PicturePanel.paint(): offscreenImage is null
08:26:47.906 [ERROR] [wjhk.jupload2.exception.JUploadIOException] No writer for the 'gif' picture format. (No writer for the 'gif' picture format.)
08:26:47.906 [DEBUG] PicturePanel.paint(): offscreenImage is null
08:26:47.906 wjhk.jupload2.exception.JUploadIOException: No writer for the 'gif' picture format.
08:26:47.906    at wjhk.jupload2.filedata.helper.ImageReaderWriterHelper.initImageWriter(ImageReaderWriterHelper.java:361)
08:26:47.906    at wjhk.jupload2.filedata.helper.ImageReaderWriterHelper.setOutput(ImageReaderWriterHelper.java:137)
08:26:47.906    at wjhk.jupload2.filedata.PictureFileData.createTranformedPictureFile(PictureFileData.java:552)
08:26:47.906    at wjhk.jupload2.filedata.PictureFileData.initTransformedPictureFile(PictureFileData.java:525)
08:26:47.906    at wjhk.jupload2.filedata.PictureFileData.beforeUpload(PictureFileData.java:258)
08:26:47.906    at wjhk.jupload2.upload.UploadFileData.beforeUpload(UploadFileData.java:234)
08:26:47.906    at wjhk.jupload2.upload.DefaultFileUploadThread.beforeUpload(DefaultFileUploadThread.java:257)
08:26:47.906    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:456)
08:26:47.906 [DEBUG] FileUploadThread: within run().finally
08:26:47.906 [WARN] Temporary file not deleted
08:26:48.750 [DEBUG] PicturePanel.paint(): offscreenImage is null
08:26:48.812 [DEBUG] JUploadPanel: after !fileUploadThread.isAlive()
08:26:48.812 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)

etienne_sf

Hi,

  I'm back after some good days off !
:)


Your problem is stange. So a question here: what Java version do you use ?

If it's sun and a recent release, can you give me the full debug output.

Etienne

NB: In the next release, I'll remove this intermediate output, that has no interest, out of ... loosing time by asking for the full one.

Αndré

I just tested it with Java 6 Update 7 and it worked ??? I'll test this on another PC (where the error appears) later and will post my result.

Αndré

Java 5 Update 14 is running on the PC where the error appears. The strange thing is, that java doesn't start (I can't see it in the task manager), but the applet loads as always and I can upload e.g. 'jpg' without problems.
I'll check this on another machine later on.

Αndré

Result of final test:
- Clean machine with Java 5: "No writer for the 'gif' picture format."
- Update to java version 6: successful upload of gif file

Joachim Müller

So the instructions for JUpload should mention the minimum requirements on the Java version, although it's always a good idea to keep the Java version up-to-date anyway.

etienne_sf

Right ... and strange enough.

  Upload of gif pictures used to work with gif picture and java 1.5, at least ... AFAIR

I'll update my doc.

Etienne