Image Overlay With Coordinates - image

I recently have a project which invovles attempting to automatically "mock-up" images with a standard logo. For example, I have 1000 images of products, and I have one logo image that needs to be placed (over-layed) on top of each image. I know I can do this with ColdFusion's imageOverLay() function. However, I assume this always puts the overlayed image right in the middle of the underlying image (assuming they have the same width and height parameters). I was wondering if there was any way possible to specify and X/Y coordinate of the top-left corner of the overlaying image, and have the overlayed image placed in that location?
An example of a site:
http://www.internalsearch.expandedproductsearch.com/catalog/48/
You'll notice that all of the products have an image properly placed on the products. And I can assure you this wasn't done by hand. They must have a way to specifying where the overlaying image should go for each product, and then it just automatically puts the overlaying image (logo) in that spot. Can anyone think of any other way to do this? Is there some sort of advanced image library I could use with ColdFusion?
Any information would be greatly appreciated! Thank you.

I believe this got answered over on the Adobe forums and you are correct #Leigh; imagePaste was the solution.
I still can't comment on a question so posting this as an answer.

Related

How can I make a Resizable/Responsive main Image with links that stick to the size of the image within?

I am trying to have a base image for my website which will be responsive/resizable. However I need to pin point links to to parts of the image even if its altered or distorted.
Any help would be great!

Working with Images in Xamarin App programmig

I am working on a Xamarin App compatible with all devices. I have a general question related to images. I am using Location Mark Image Icons to provide locations available on the Map. My issue is, Image has a white background which is also showing along with its background. I want to show only the Image.
Is this related to the designer to provide the image without background? Or as a developer, I can do something on it.
Xamarin.Forms doesn't delete your white background. What you need to do is following a small tutorial on how to use Adobe Photoshop for example and export your images as png, you might even consider which png type you need, there's 3 types of png:
png8
png24
png32
I won't be going deep in explaining each one of them, but you need to know that they all support transparency and could have a transparent background, however, you might notice some differences between them on the edges.
For example, png8 will give a small white border while png24 will not show that.
You can check this for example: https://helpx.adobe.com/photoshop-elements/using/optimizing-images-png-24-format.html
No, you can't do anything about it using Xamarin.Forms. You need to modify the image and remove the background (using Adobe Photoshop, etc.) and make sure to save it as .png.
If its simple white background you want to remove, You can utilise simple [MakeTransparent][1] method ofBitMap.
But this will remove all white coloured pixel. So IF your logo also contains white color, better you contact your designer.

HTML5 Move Image Along Path

I'm trying to move a png or gif along a predetermined path inside a <canvas> element. Can anyone provide a few resources or code samples to get me started?
Thanks in advance!
You may want to look at this link: https://developer.mozilla.org/En/Canvas_tutorial:Basic_animations for more information, but basically your best bet is to erase the canvas, then redraw everything having moved the image, which you drew with 'drawImage'.
The x,y coordinates will change based on your path.

LinkedIn shareArticle thumbnail

how can you specify which image you want to show on when sharing an article? Now it just picks random images from our site which aren't relevant. I tried adding an image_src link to the head of my site but this didn't help. Any idea how you can do this?
The API of LinkedIn doesn't tell us how:
http://developer.linkedin.com/docs/DOC-1075
Kind regards,
Daan
There is currently no way to specify a thumbnail. They don't seem to use oEmbed, OpenGraph or image_src. However, you can trick it into picking a specific image.
Make your image 62x62 pixels (other sizes will likely work, but non-square aspect ratios failed for us in the combinations we tried). Also, make it the first IMG tag in the document.
If you don't want users to see that image on your site, you can hide it with postion:absolute and right:-999px.

How does facebook handle resizing of images

Hello I am building a social network similar to facebook and I really need some help on how to handle the images in my website. I would like to know how sites like facebook manage the resizing of their images. An example would be looking at someones photo album. The length and width are not just simply changed. They are done in a more professional way to make the image still look clear and not stretched. Do they use a special tool for this. Another example would be profile pics when they are loaded to your message wall. Your friends profile pics are centered and cropped accordingly and then re sized. How do they go about doing this. Any help would be greatly appreciated.
They resize proportionally with an imaging library like GD, Imagick or others.
The presentation in the gray area is just that, presentation so HTML and CSS.
They stretch the images proportionally so that they don't look wrong; if you make the image 37.5% wider... you also make it 37.5% taller.
If we knew what language you are familiar with, we could probably suggest something to help with this.

Resources