hi , all
I tried to write Arabic text in image with php ..
this is my code ..
<?php
header("Content-Type: image/png; charset=utf8");
$im = imagecreatetruecolor(150, 30);
// Create some colors
$white = imagecolorallocate($im, 100, 255, 255);
$grey = imagecolorallocate($im, 128, 128, 128);
$black = imagecolorallocate($im, 0, 0, 0);
i...
Hi there. I have a database which stores .png images as the sql "image" type. I have some code which retrieves these images as a byte[], and sends them to the page via the FileContentResult object in .Net. Performance is key in this application, and the images have to be retrieved and displayed as quickly as possible. My question is, can...
Hi guys,
In one of our community sites, we allow users to upload images. These images are approved or rejected by our moderators.
To limit the work needed by our administrators, we want to 'log' each picture that is rejected to some kind of database, and do a lookup in this database prior to submitting an image for approval. If a simi...
Hi to all,
i need a code in Jquery for hide all images on all pages except the 'reCaptcha' thing.
The images of reCaptcha start with the link: 'google.com/recaptcha' or 'recaptcha.net' ...
My idea is to make the script that hide all images but not touch the images that contains the part 'recaptcha'.
Is possible to make in Jquery?
Thanks...
I'm running into an issue with my program when trying to crop an image selected by the user from their gallery. The issue so far only appears when running on a Droid X, as running on the original moto Droid works fine.
Basically the issue occurs as the cropping intent is being run. Once the user crops the photo and clicks the save butt...
I need to read an image pixel by pixel to obtain an array of RGB and write the image in shades of red, blue and green, but without using Image.io or specific java classes that handle and images
...
i want to read the raw image data of a jpeg so i can manipulate it without loosing any quality when doing so.
i took a look at the LibJpeg.Net library http://bitmiracle.com/libjpeg .
but there is a lot of code and couldnt find anything about reading/writing raw blocks.
mainly i want to implement lossless editing of a jpeg image and was w...
I want to dynamically add image in EditText. Is it possible? anybody knows please give sample code for that.
...
Hello! Is it possible to set the position of an image using pygtk?
import pygtk
import gtk
class Example:
self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
self.image = gtk.Image()
self.image.set_from_file("example.png")
# Position goes here (it should, shouldn't it?)
self.window.add(self.image)
self.image.show()
...
In a WPF application I'm writing, I have a TransformedBitmap property which is bound to an Image object on the UI. Whenever I change this property, the Image is updated (and thus the image being displayed to the screen is updated). In order to prevent the UI from freezing or becoming unresponsive whilst I retrieve the next image, I'm a...
I have 3 days into this and my mind is melting oozing out my ears.... please help!
The end result is that I want to upload selected photos from and Android phone to a php website.
I can display the images from the camera and get the filename that I want to upload. However I cannot use FileInputStream on the file name because it is no...
I am trying to automatically show images based on what month it is with javascript. I am also using the jquery cycle plugin for the slide show. I originally just had the images within the HTML and everything was copacetic. Now when loading the images source with javascript there is a long pause before the first picture loads up and al...
I will put 10.000 picture ordered like connected hexagons.But I can`t see pictures more than 140.They not fit in browser and also scroll bars not shows all elements.I want to make that on screen will be visible 100 image and if I will move mouse up,down,right or left and page will be scroll to that position.
<div calss="userList"> ...
What techniques do people commonly use for uploading, storing and presenting images with a CMS?
Do you store them in the database or on the file system?
Do you generate thumbnails on upload? Or on the fly, then maybe cache them for reuse? Or rely on browser scaling?
...
Hello,
I have a program that composites the pages of a PDF into a single image with each page stacked on top of each the previous one. The program works fine, but the font rendering quality is much lower when run from anything but a Snow Leopard system. In Leopard, the text looks jagged and not antialiased properly. Does anyone know ...
I'm going to incorporate the feature for my users to upload small files which are under 2mb (jpg, gif, pdf and docs). For page loading times purposes and generally managing files in future, can you recommend is it best to have the files uploaded to the filesystem (and link to it via the database) or upload to the database directly as a B...
Hi.
I'm trying to send HTML mail, with PHPMailer, with images.
The body is loaded from a html file, that contains all the info.
When sending the mail, the image does not appear in the body, although I even send the image also as an attachment.
HTML <img> tag points to the same place as the place.
PHP:
$mail->AddAttachment('img/2u_cs...
Hi
I have a 125x250 image and I need to just display a 125x125 region of it.
Can I do this via CSS? How?
Thank you
...
How would one compress GIF image file in PHP5 ?
I know that its possible to do with JPG like this imagejpeg($resource, $filename, $quality)
according to http://us.php.net/manual/en/function.imagejpeg.php
...
After spending hours searching for a simple way to to add an image to an openGL application written in C++, i failed, miserably. It is also apparent that many others have too.
I am fairly new to OpenGL, I have written my own win32 app with OpenGL using DevIL and you guessed it, i failed.
The only way i could get DevIL to work was using ...