Inserting byte array image into Word VBA
I have an image in a byte array (read it in from a MySQL blob column) and I need to insert that into a document using VBA and MS Word. Can I create a shape and use EnhMetaFileBits to "re-hydrate" it? ...
I have an image in a byte array (read it in from a MySQL blob column) and I need to insert that into a document using VBA and MS Word. Can I create a shape and use EnhMetaFileBits to "re-hydrate" it? ...
I'm re-writing a website that will support multiple skins. Currently, I'm just planning on allowing images and CSS to be modified, but the underlying HTML will not change. And if the skin does not modify an image or CSS file, it inherits that file from the base skin. With that in mind, here are the 3 ways I've considered so far for se...
I want to create a thumbnail, and the width has to be either fixed or no bigger than 200 pixels wide (the length can be anything). The images are either .jpg or .png or .gif I am using python. The reason it has to be fixed is so that it fits inside a html table cell. ...
I am looking to see if there is a library that would let me get a cropping path and then manipulate that path. Here is what I am thinking of: Take a gray scale image and find the crop path to remove the white background. Have a threshold to help ignore artifacts. Display the crop path. Allow the user to manipulate the crop path by movi...
I'm trying to find the best method to upload images onto a server. I'm already using a script but it's not very secure. I'm not looking for anything using ajax, just a normal php upload but very secure. I Googled some scripts but there are too many, I'm not sure how to tell which is the best. Can someone who dealt with image uploads bef...
Hi, I was asked this question recently in an interview: Company logo appears partially on the new build of browser Eliminated Server down problem, not network issue Company Logo which is a JPG : maybe the image rendering broken What else could be wrong? I could not think of anything else. Please help. Can someone elaborate? Thanks...
Hi Guys, I have a user avatar on my website. Simple image tag: <img src="foo.jpg" class="userphoto" width="48" height="48" alt=""> Now, i want to float an image (Facebook Icon - 10x10px) over this image on the top left corner of the image. This is to signify that the user is authenticated to Facebook. How can i do this? CSS styling...
function set_preview_image(image_link){ $('#slideshow-container').css("background-image", "url('files/images/store/content/templates/websites/preview_images/" + image_link + "'"); } I'm passing through an image variable. Everything works fine in FF and IE. What am I missing? I've already tried us...
I can't seem to understand why my images still won't show up with my code. All my folders and images are correctly names and placed accordingly. However, if someone could look over my code and see if there is an error there and get this code to run properly. It would be great. <!DOCTYPE html> <html> <head> <title>Sample ...
It looks like it does not matter what image headers I use for spitting out via php script an image file with unknown extension, call it .ext Are there any actual effects? (Is PHP silently converting it, or bypassing the format?) ...
Hi , I have a class which helps me out to re-size my images to a specified image size but the problem is with the file sizes of the output images—actually it's kinda funny but here is the thing: the original image is : 800x600 24bit 96dpi file-size : 82kb the re-size image is : 466x340 24bit 96dpi file-size : 366kb what should I do?...
I was wondering if in the width and height attributes, I could specify width and height as percentages? Well, I guess that is obvious, because when I try so, it resizes, but it appears to skew the quality of my image. Here is an example of my markup with fixed attributes: <img src="#" width="346" height="413"> Now, while trying to ...
I have a raw image where each pixel corresponds to a 16 bits unsigned integer. I am trying to read using the PIL Image.fromstring() function as in the following code: if __name__ == "__main__": if (len(sys.argv) != 4): print 'Error: missing input argument' sys.exit() file = open(sys.argv[1], 'rb') rawData = ...
I've created a script which implements jCrop to crop an image before displaying it. In the CMS the client needs to be able to upload logos, which fit a specific size as determined by our designer. So I think I'm looking for something which can crop, resize and save out the original, a specific sized version and potentially other thumbna...
There is only a very limited set of PixelFormats in DotNet world, but I need to write bit values for a CMYK image with 1-bit depth channels. Does anyone have any ideas here? Do I need to use an external library? If so does anyone have a recommendation? ...
Hello friends, I am trying to calculate by how much an object has moved in each consecutive image captured from a stationary camera. What we're testing here is the repeatability of our setup to place an object in the same place each time. The object in question has a stamp placed on its center that has a simple shape on it (see below)...
I have an image file stored on a remote server. I only have HTTP access to the server, so I'm getting its content using file_get_contents(URL) I need to store this content in a local sqlite3 database in a field of type 'blob'. I'm using the PDO object to connect to the database, and I'm using $db->exec("INSERT INTO myTable (myImageBlo...
Hello, I'm trying to do a thumbnail gallery on my web page so that when one is clicked the full size image is shown. The images are stored in a backing bean and are shown with an tag. <li> <a href="????"> <ice:graphicImage value="#{screenshot.image}" styleClass="thumb"/> </a> </li> When on the page, I see the...
Is it possible to specify that as SVG image should produce output in CMYK? If so, is it a big task? What if the image has its colours specified in RGB, is it difficult to convert them to CMYK? ...
I'm brand new to Java Advanced Imaging, and the first stumbling block I've reached is the ability to read in a 12 bit, single band, greyscale JPEG file. I've seen references to it being possible with JAI, but no code or even suggestions about how it should be done. Could someone please help me out with either a helpful link or a short co...