473,397 Members | 1,960 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

How to store image in 300 dpi using php

Can anyone tell me how to store an image in 300 dpi using php and gd which gd function is used.
Sep 7 '07 #1
2 2890
Atli
5,058 Expert 4TB
Hi Eric. Welcome to TSDN!

The GD functions will work on most JPEG, PNG and GIF images. They also have support for some BMP formats, tho I have never been able to find much use for them.

There is no way to give exactly the functions you will need, as I do not know what you are trying to do, but all the GD functions are listed in the above link.

If that does not work for you, you could try a Google search for ImageMagick. I have never used it but it is supposedly superior to GD in many ways.
Sep 7 '07 #2
ronnil
134 Expert 100+
Hi Eric

If your picture is 300dpi, I'd suppose saving the picture will still produce a 300 dpi picture unless you alter the size of the picture.

I would advise you not to use a php-method to toy around with images used for printing (if that is your objective). In this case i think Java would be better (don't know how much better tho)

I found this topic discussing the same subject, you might wanna check it out link
Sep 7 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Raghavendra RAV | last post by:
Hi, I need to store an image from a Graphics object(.NET) inside a xml data island. Anyone might have came accross or have an idea how to do this. Please share. Thanks & Regards, Raghu, CSS...
5
by: moondaddy | last post by:
I'm caching a dataset in an asp.net session variable to hold a user's data. one data item I need to store is an image the user uploaded. My problem is that I don't know how to get the image into...
2
by: Dzemal Tipura | last post by:
how to store image in sql 2000 using vb .net 2005? thx
2
by: tathagata | last post by:
how I will upload the image using AJAX and PHP and also I want to know how to store image in database and folder. Please send code. I will waiting for response.
8
by: hemashiki | last post by:
hi i need help..how can i store image in mysql database and i want to retrive that image can anyone suggest plz
1
by: berry | last post by:
Hi all, I am scratching my head on how to store image that user upload to the MySQL database in vb6? Please HELP me!! Thank you very much..
2
by: Eminosoft | last post by:
I am new to the php. plz tell that code for "how to store image in mysql database and also retrive that image"
0
by: harshad | last post by:
Dear All,Here I am facing problem to store image.I am trying to store byte array(image) in to session variable so at time of update I will got that byte array and I do my update. here i am given...
2
selvasoft
by: selvasoft | last post by:
hi how to store image in database using JSP
3
by: sweetjos | last post by:
How to store images in ms access using asp...That image should be stored in one folder and that path should be stored in ms access...Plz help with code.........
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.