I have a script that resizes images uses GD2.
If the image is vertical (portrait) rather than horizontal (landscape), all
I get is a black image. I think it is related to the camera they use (an old
Kodak 2MP).
What should I try? Thanks 4 1815
"jn" <ja************ *************** ***@netfuture.c om> wrote in message
news:Xv******** *********@twist er.tampabay.rr. com... I have a script that resizes images uses GD2.
If the image is vertical (portrait) rather than horizontal (landscape),
all I get is a black image. I think it is related to the camera they use (an
old Kodak 2MP).
What should I try? Thanks
By the way, it works on my Windows machine but not on the Linux server.
jn wrote: I have a script that resizes images uses GD2.
If the image is vertical (portrait) rather than horizontal (landscape), all I get is a black image. I think it is related to the camera they use (an old Kodak 2MP).
What should I try? Thanks
Search Google Groups. I think I remember someone else having that problem a
couple months ago. Don't remember if they solved it, though.
Regards,
Shawn
--
Shawn Wilson sh***@glassgian t.com http://www.glassgiant.com
I have a spam filter. Please include "PHP" in the
subject line to ensure I'll get your message.
"Shawn Wilson" <sh***@glassgia nt.com> wrote in message
news:40******** *******@glassgi ant.com... jn wrote: I have a script that resizes images uses GD2.
If the image is vertical (portrait) rather than horizontal (landscape),
all I get is a black image. I think it is related to the camera they use (an
old Kodak 2MP).
What should I try? Thanks Search Google Groups. I think I remember someone else having that problem
a couple months ago. Don't remember if they solved it, though.
Regards, Shawn -- Shawn Wilson sh***@glassgian t.com http://www.glassgiant.com
I have a spam filter. Please include "PHP" in the subject line to ensure I'll get your message.
LOL...it was me :)
I decided to try and use ImageMagick instead, but I couldn't get it
installed on the server. They are having this image problem again, so I'm
back where I started.
jn wrote: I have a script that resizes images uses GD2.
If the image is vertical (portrait) rather than horizontal (landscape), all I get is a black image. I think it is related to the camera they use (an old Kodak 2MP).
What should I try? Thanks
Suggestion:
You might want to post some sample code, and some sample source files so
that someone else might be able to reproduce the problem. Otherwise,
you're likely to get a silent "heck if I know" and no reasonably useful
responses.
I know a lot of folks aren't willing to take a look at a problem that
the poster isn't willing to explain.
Regards,
- Dan http://www.dantripp.com/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: jn |
last post by:
I'm working with images from a Kodak 2MP camera.
It looks like the function will only create a resource if I give it
horiznotal pictures from this camera....if I give it vertical (height larger
than width) images, it fails to create a resource.
What the hell is it doing?
|
by: Aaron Davies |
last post by:
I'm trying to write some classes for my collaborative whiteboard to
transmit images over the network, using the javax.imageio API, but I'm
running into an odd problem: my code words fine with PNGs, but not
with JPEGs. As you can see below, I've attached a progress listener to
the reader, which reports progress up to just under 95%, then nothing.
The warning listener reports no warnings. The images are written by an
ImageWriter in another...
|
by: Kate Luu |
last post by:
My application was written by C# and I couldn't load the photoshop image.
Are there any Pro out there know how to load the photoshop image with the
file extension is: .PSD. Thanks you all in advance, I'm greatly appreciate
for your help. Have a good one...
Kate Luu
|
by: newbie |
last post by:
Hi
Can anyone please tell me how I can get and decompress JPEGs from an URL?
Thank you!
|
by: kmazur |
last post by:
Hello,
I have a folder on the server g:\users\logos\. I need to create a web
app that will display all the images in that folder (there are gifs,
tiffs, jpegs and bmps) in thumbnail format and then when the user
clicks, he/she can download that image. I found some sample code that
will display one type of image (jpgs) but I cannot figure out how to
display all different formats. IS there any sample code out there?
any help will be...
| |
by: Enrique Cruiz |
last post by:
Hello all,
I am currently implementing a fairly simple algorithm. It scans a
grayscale image, and computes a pixel's new value as a function of its
original value. Two passes are made, first horizontally and second
vertically. The problem I have is that the vertical pass is 3 to 4
times slower than the horizontal, although the code is _exactly_ the
same in both cases?!
The code itself is very simple. There are 2 loops to scan through...
|
by: tlc1680 |
last post by:
I am trying to add jpegs in a form, I am using a bound object Frame.
When I right click and insert object I choose create from file I choose the picture and all that shows up is a link, the only way I have gotten the picture to show up is if I use a .gif and instead of a .jpeg.
When I click create new, I am unable to get any of my options to work. On a personal computer I was able to use Microsoft Photo Editor 3.0 and have it insert a...
|
by: vectorizor |
last post by:
Hi all,
I am writing an image processing algorithm that goes across an image
first row-wise and then column-wise. For illustration purposes,
imagine that for every pixels, the output is computed as the sum of
the input and its previous neighbourg. In the horizontal pass (i.e.
row-wise), the previous neighbourg is defined as the pixel on the
left. This is followed by a vertical pass, whereby the previous
neighbourg is defined as the...
|
by: =?Utf-8?B?ZG1idXNv?= |
last post by:
I have an Access database with a table named 'tblMedia'. In tblMedia I have a
field named 'Media' that is defined as an 'OLE Ojbect' field. In this Media
field, I have pictures, they are jpegs. I'm using VB.NET 2005 and I would
like to open the Access database and write the OLE Objects to the file system.
Here's what I got and it's not working.
'Open connection to the Access database
OpenConnection()
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |