JumpLoader
Java File Upload Applet
Watermark Bug with Scaled Images

 
Post new topic   Reply to topic    JumpLoader Forum Index -> Bug reports
View previous topic :: View next topic  
Author Message
musicisair



Joined: 30 Jul 2009
Posts: 7

PostPosted: Fri Jul 23, 2010 1:57 pm    Post subject: Watermark Bug with Scaled Images Reply with quote

This is an intermittent bug and I can't say for sure how to reproduce it ever time.

I am uploading the following scaled images:

thumbnail 70x70
medium 250x250
large 691x515
xlarge 900x594
blarge 691x515
bxlarge 900x595


I am watermarking the large and xlarge images with wm.png and the blarge and bxlarge images with bwm.png

Sometimes blarge and bxlarge will contain BOTH watermarks overlaid on each other.

If I change the height of blarge and bxlarge by 1px (to 516px and 596px respectively) the double watermark issues goes away.

If it matters: the watermarks are both PNGs with alpha transparency and are the same size.

-------------------------------------
heres the code:


Code:

<applet name="jumpLoaderApplet" code="jmaster.jumploader.app.JumpLoaderApplet.class" archive="jumploader_z.jar,mediautil_z.jar" mayscript="" width="100%" height="701">
                                             
                                  
                <param name="uc_uploadUrl" value="uploadImage.aspx" />
               
                <param name="uc_sendImageMetadata" value="false" />
                <param name="uc_imageEditorEnabled" value="true" />
                <param name="uc_useLosslessJpegTransformations" value="true" />
                <param name="uc_uploadScaledImages" value="true" />                                   


                <param name="uc_scaledInstanceNames" value="thumbnail,medium,large,xlarge,blarge,bxlarge" />
                <param name="uc_scaledInstanceDimensions" value="70x70,250x250,691x514,900x594,691x514,900x594" />
                <param name="uc_scaledInstanceQualityFactors" value="1000,1000,1000,1000,1000,1000" />
                <param name="uc_scaledInstanceWaterMarkNames" value="null,null,hWatermark,hWatermark,bWatermark,bWatermark" />
                <param name="hWatermark" value="halign=right;valign=bottom;opacityPercent=97;imageUrl=wm.png"/>
                <param name="bWatermark" value="halign=right;valign=bottom;opacityPercent=96;imageUrl=bwm.png"/>

               
                <asp:Literal ID="jumploaderParam" runat="server" />
               
                <param name="ac_fireUploaderFileAdded" value="true" />
                <param name="ac_fireUploaderFileStatusChanged" value="false" />
                <param name="uc_fileNamePattern" value="^.+\.(?i)((jpg)|(jpe)|(jpeg)|(gif)|(png))$" />
                <param name="vc_fileNamePattern" value="^.+\.(?i)((jpg)|(jpe)|(jpeg)|(gif)|(png))$"/>

                <param name="vc_disableLocalFileSystem" value="false" />
                <param name="vc_mainViewFileTreeViewVisible" value="true" />

                <param name="vc_mainViewFileListViewVisible" value="true" />
                <param name="uc_imageRotateEnabled" value="true" />
        </applet>
[/code]
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    JumpLoader Forum Index -> Bug reports All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
advertising WebFM — easy and efficient web file manager.