![]() If your image has transparency, like the PNG robot below, you could put an image behind it - in this case, a generic logo: ' watermark.layer' - lets you change the layer position - either in front or behind the image. From -180 to 180, with a default value of '0'. ' watermark.rotate' - sets the amount of rotation for the watermark image. ' watermark.opacity' - is set on a scale from 0 (transparent) to 100 (opaque). The example below moves the watermark down () by 23% from the north position: The default compass position is northwest (top left) and can be changed to any compass location, or center. ' ' - sets the starting point for shifting the x & y values. You can use either pixels or percent (%), as either positive or negative values. ' ' - sets the distance from the left and ' ' sets the distance from the top. &=35%&watermark.opacity=55%&=80%&=110%&watermark.rotate=-35Īlternatively, watermarks can be located elsewhere, with a choice of three options. The ' tile' setting repeats the watermark across the image:Ĭombine it with other settings to achieve the example below: ' watermark.position' - sets the position of the watermark as either 'center', 'tile' or the point on a compass: 'north', 'northeast', 'northwest', 'south', 'southeast', 'southwest', 'east', 'west'. ![]() Important We recommend using percentage based values if you want to deliver high quality retina images to your visitors with the help of Sirv.js. You can also choose 'fit' to fit inside the specified width/height, 'fill' to fill the width/height (and spill over) or 'ignore' to stretch the watermark. The default 'noup' will not upscale the watermark beyond its original size. ' ' - sets how the watermark scales when both and are set.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |