User Tools

Site Tools


merkalt:rendering_analysis

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
merkalt:rendering_analysis [2013/09/05 07:05] ramilmerkalt:rendering_analysis [2013/09/05 09:20] (current) ramil
Line 1: Line 1:
 **Analysis of rendering labels on other sites** **Analysis of rendering labels on other sites**
  
-Now the merkalt sites (excluding wallstickers) are using the next schemz: after the customer changed label parameters (type the text on the lines and leave the field; select motif, background or text color) there is a lock of all controls of product and execution of script in the background which renders label. The rendering result is saved in a temporary image file. In the HTML the label's preview is defined as the "image" html-element which URL linked with the rendered image file.+Now the merkalt sites (excluding wallstickers) are using the next schema: after the customer changed label parameters (type the text on the lines and leave the field; select motif, background or text color) there is a lock of all controls of product and execution of script in the background which renders label. The rendering result is saved in a temporary image file. In the HTML the label's preview is defined as the "image" html-element which URL linked with the rendered image file.
  
  
Line 7: Line 7:
 Update performed after each character set in the lines fields of the label preview constructor. On each change of solitary character, delayed update is started (timeout is 500 ms). After each click (color changing, motif selecting, etc.) the label update started without a pause. When update of label preview is ready, it applied unless user made any other action - this case the change not applied and preview generation starts again.  Update performed after each character set in the lines fields of the label preview constructor. On each change of solitary character, delayed update is started (timeout is 500 ms). After each click (color changing, motif selecting, etc.) the label update started without a pause. When update of label preview is ready, it applied unless user made any other action - this case the change not applied and preview generation starts again. 
 Label's image URL is not the link to the updated image file as it now on Merkalt. There is an URL to script which generates label image and returns the image. Each user action launches a change of parameters for image URL and then receives updated image.   Label's image URL is not the link to the updated image file as it now on Merkalt. There is an URL to script which generates label image and returns the image. Each user action launches a change of parameters for image URL and then receives updated image.  
-For example, after typing text "text" in the Linje 1 generates URL to preview image as +For example, after typing text "test" in the Linje 1 generates URL to preview image as 
 /extensions/ColorStickers/operations.php?&operation=preview&bk=undefined&g=0&rand=7113.364054360752&c=000000&l1=test&l2=&l3=&f=1 for preview.  /extensions/ColorStickers/operations.php?&operation=preview&bk=undefined&g=0&rand=7113.364054360752&c=000000&l1=test&l2=&l3=&f=1 for preview. 
 If we change the color of the text to blue the URL will be If we change the color of the text to blue the URL will be
Line 13: Line 13:
  
   * https://www.navnelapper.no/klassiske.    * https://www.navnelapper.no/klassiske. 
-A similar algorithm for rendering the label as in the previous case. The only difference is that the process takes place without timeout.+A similar algorithm for rendering the label as in the previous case. The only difference is that the process takes place without timeout. It is better to render label without delay. In the previous case, probably using the timeout they would want a certain visual effect.
  
   * http://www.smartlapper.no/navnelapper/bestill.   * http://www.smartlapper.no/navnelapper/bestill.
merkalt/rendering_analysis.1378364739.txt.gz · Last modified: (external edit)