Furry stuff, oekaki stuff, and other stuff.
You are not logged in.
For the interested, most oekaki applets support the ability to submit pictures as JPEGs if they exceed a certain filesize (in bytes). Wacintaki calculates a compression ratio of .35 for images. If they are below that threshold, they remain PNGs, but if they are larger than that, they become JPEGs. To prevent images from becoming JPEGs at all, set "APPLET_NO_JPEG" to 1.
Note that if pictures have animations, the animation is used to rebuild the image, thus, further retouches should retain their full quality. In general, using animation is a good idea when drawing anything.
It worked, thanks much!
First, open up the file "resource/hacks.php" and change this line:
define ('APPLET_NO_JPEG', 0); CHAGE TO: define ('APPLET_NO_JPEG', 1);
This will disable JPEGs for the saved pictures, though thumbnails will still be saved as JPEGs for bandwidth reasons.
Second, for getting the PNG back, here's a little hack for you, but follow the directions very carefully:
From the Admin menu, select Edit Banner. Somewhere in the banner or notice, add this line:
<? $sql_hack = mysql_query ("UPDATE {$OekakiPoteto_Prefix}oekakidta SET ptype='png' WHERE PIC_ID=6"); ?>
After submitting the banner, the picture should be fixed. Then, go back to the banner editor and remove this line of code. That should be it.
During a re-touch a pic was saved as a jpg instead of png for some reason. Is there a way to change it back to png, and to make it so all pics are always saved as pngs?
Here's my board: http://arthur.crimsonkitty.net/oekaki/ The latest picture is the one with the problem (it's the only jpg on the board)
Thanks much.