Java resize method creates invalid JPG
maT42
Joined: 2008-05-06
Posts: 7 |
![]() |
|||||
Hi guys, Example of an invalid file which has been created using a perfectly normal original (unedited, directly from cam transferred and doublechecked) is attached. The log is attached. BTW... I think that the importance of the GR module is underestimated. Lots of people who are supposed to add pictures are dumb users who dont know anything about computers. Instead of adding/improving all kinds of nasty G2 features, there should be a focus on developing a really easy-to-use and elegant applet which can be used to add pics. In my optinion, the current version doesn't fulfill this requirements. Sorry for my straigh-forward approach to say that... you're doin great work, but i think it can be improved! Check out the facebook solution, its easy & powerful & it provides not more than needed.
|
||||||
maT42
Joined: 2008-05-06
Posts: 7 |
![]() |
|||||
In order to check that the created jpg is not completely nonsense, please download and view it using a viewer of your choice... somehow, the resize process screws the picture. Is it possible to build the jar-file of the applet on my own? It seems to be necessary to sign the jar... I don't wanna look for the code which stops the initialization of the applet if its unsigned. Would it be possible to get either the password/key or the spot in the code which stops the initialization routine? Cheers, |
||||||
maT42
Joined: 2008-05-06
Posts: 7 |
![]() |
|||||
Argh sorry for being so impolite, just read my own text and could beat myself Cheers, |
||||||
maT42
Joined: 2008-05-06
Posts: 7 |
![]() |
|||||
Hey guys, Changing the model to e.g. BufferedImage.TYPE_INT_RGB or BufferedImage.TYPE_3BYTE_BGR works perfectly for me. Cheers, |
||||||
xmeslin
Joined: 2007-08-07
Posts: 15 |
![]() |
|||||
Hi Mat, Where have you done this change ? Is it in the jar file directly ? Tks, Xavier |
||||||