Hi I am new to the GD library and am stuck on something and wondered if you could help me.
I am using PHP and GD.
I have an array with 40 predefined hexadecimal colors in it.
I have an image that is 6 x 6 pixles, and I would like to loop through the pixles, swapping the colours in the image for my predefined colors.
if say pixle 1 was already in my predefined colors i would like to leave...
Search Result
Collapse
27 results in 0.0042 seconds.
Keywords
Members
Tags
-
how do i replace pixels colors with my own colors ?
-
How can I upload images in my aspx page?
Hi all,
I want to let user to upload images on my site and put some discription too!
I want that these things should be saved in my database too.SO how can I achieve this? -
Is it a good idea to store images in MySQL database instead of folders?
Hello,
I'm currently developing social website which means that I'm going to use user images/avatars, photo albums etc. Is it a good idea to store all those images in MySQL database instead of using individual user folders?
Thank You ))) -
Do hidden images affect SEO?
I'm building a photo gallery that fades in images using JS. In order to have the images show when JS is not turned on i'm hiding the images with JS immediately on page load before fading them in.
I know it's 'illegal' to have text just for crawlers then hide it from real users with JS so I'm worried that a search engine crawler will see that I'm hiding images after page load and penalize the page.. even though i am turning them back... -
Build PXE Image That Doesn't Install ('live' image on PXE device)
Maybe I haven't looked enough, but I would like to create a PXE-bootable 'live' image that would sit in buffer memory of a server so that I don't have to keep running over to servers with my portable DVD drive.
Does anyone know of a good guide that covers this? I have found how to create a regular Linux image - is there a difference between one that installs and one that doesn't? -
Sending Images Over a Network Stream
Hi i am making a simple HTTP Server using TCP/IP sockets for a project.
i have a method to get an image and send it over to the browser but i am having problems doing so, i have tried doing it different ways but nothing seems to be working.
the browser asks for the image, the server sends the head along with the image but the browser never shows the image. the server works fine for all the html/css files i have send... -
How do you embed images into Excel through PHP
Right now I'm making a little test page to see how well I could export data from a MySQL database into an Excel spreadsheet. This is a dynamically created .xls and there could be almost no rows or even thousands of rows created, it all depends on what the person wants to get.
I have outputting basic data well. Right now it gets up to ~65k rows of output. What I need now is to be able to embed images into these Excel files. I've... -
Mary Seelye started a topic I need to know how to make an image change to other images 5 times with onload.in JavascriptI need to know how to make an image change to other images 5 times with onload.
this is what I have so far, I can only get it to work with the two pictures, and I need 5:
Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Concert Ads</title> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"
-
problem with loading an instance of a form before a database call
Hi there,
I have a strange problem with creating an instance of a form which I want to use as a custom message box.
The idea is that when the user clicks the button to perform a database search, an instance of this form is loaded.
The background image of the form never displays but the text on the form does - but it all works fine when I remove the call to the database.
I also tried putting a "proper"... -
Problem with Report/Subreport/Image
Hi, longtime lurker first time poster.
I am developing a Db for school on assambling planes etc... well i have my tables
Model
Pk MID autonumber
Model Name txt
Model Type txt
Pices
Pk PID autonumber
Piece Number txt
Piece Description txt
this are the only ones that are independent.
Index
IID primary key
MID FK to Model...Last edited by Niheel; Jul 22 '10, 07:42 PM. -
How to place text so it's not hidden by image
Hi everyone!
I'm just starting to get acquainted with html/css so my question might seem simple.
So, I want to insert two images like hyperlinks to other pages. They should be under each other, on the left. Another thing is a logo, which is again an image and link to the homepage. Placed in the center. I managed to place all these the way I want, but when I start to insert text in the main body, it is hidden behind the logo.
... -
Help with OOCALCVB: inserting images
I am trying to convert an excel report produced out of a vb6 application to open office calc. I have downloaded OOCALVB and can successfully recreate the excel report except for outputing images, e.g. company logo etc.
Does OOCALCVB allow inserting images into a spreadsheet and if so, could someone please provide an example of how it is done.
Thanks in Advance
Roger Hicks -
How to make a page display a different image based on url ?
Let's say I have a page called page.php. And let's also say I have an images folder.
How can I make the php page display the images on the folder?
But that's not the whole thing... What I really want is to be able to change the image based on the url.
Like, for e.g. www.example.com/page.php?image=1.jpg
My images are like this 1, 2, 3... so I would do something like this:
www.example.com/page.ph... -
How to know TIFF images compression?
I'm working with images that some people sends me and now I need to know when images are compressed (lzw) and when they are not. Do you know how to do this? -
Thumbnail OnClick Display Enlarged Image in Same Window
Hi I'm trying to put together an Image Gallery. Everytime you click on an image it opens a new browser window. I want the Enlarged Imge to open in the same window in a designated area ('Box2'). How can I make this work???
Here's the code:
Code:</head> <logo /> <body> <div id="container"> <div id="Box1"> <p><button /></p>