We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
.jpg vs .JPG (Read 454 times)
.jpg vs .JPG
Jul 27th, 2009, 12:01pm
 
Error Message:
This file is named img1.JPG not data/before/img1.jpg. Rename the file or change your code.

I have the image saved under a folder titled "before" and that is inside the data folder. i've saved the file as a .jpg but the program still reads it as a JPG (note the capitalization).  Does anyone know why it's not reading it properly?
Re: .jpg vs .JPG
Reply #1 - Jul 27th, 2009, 1:20pm
 
maybe the problem is the extra folder...
not sure if you have to add "data" as it searchs in there anyway. But to find out just put the jpg in the data folder and remove everything except img1.jpg  -> loadImage("img1.jpg");
Page Index Toggle Pages: 1