- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Reply to: Jpeg not a jpeg?
Collapse
You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:
- You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
- You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
- If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Logging in...
Previously on "Jpeg not a jpeg?"
Collapse
-
Originally posted by Platypus View PostAnything that "listens" in a directory is likely waiting for filenames to arrive and is unlikely to be sensitive to what's in it. For example, take a text file, rename it to .JPG and see if that works.
Here's the output from exiftool
Code:ExifTool Version Number : 9.17 File Name : Capture_00046.JPG Directory : . File Size : 37 kB File Modification Date/Time : 2013:02:07 11:55:46+01:00 File Access Date/Time : 2013:02:17 20:38:53+01:00 File Inode Change Date/Time : 2013:02:17 20:37:51+01:00 File Permissions : rwxr-xr-x File Type : JPEG MIME Type : image/jpeg Exif Byte Order : Little-endian (Intel, II) Make : Canon Camera Model Name : Canon PowerShot G5 Orientation : Horizontal (normal) X Resolution : 180 Y Resolution : 180 Resolution Unit : inches Modify Date : 2013:02:07 13:56:27 Y Cb Cr Positioning : Centered Exposure Time : 1/50 F Number : 4.0 Exif Version : 0220 Date/Time Original : 2013:02:07 13:56:27 Create Date : 2013:02:07 13:56:27 Components Configuration : Y, Cb, Cr, - Compressed Bits Per Pixel : 2 Shutter Speed Value : 1/50 Aperture Value : 4.0 Max Aperture Value : 2.5 Flash : Off, Did not fire Focal Length : 14.4 mm Macro Mode : Normal Self Timer : Off Quality : Normal Canon Flash Mode : Off Continuous Drive : Single Focus Mode : Single Record Mode : JPEG Canon Image Size : Small Easy Mode : Manual Digital Zoom : None Contrast : Normal Saturation : Normal Sharpness : 0 Camera ISO : 50 Metering Mode : Evaluative Focus Range : Auto AF Point : Manual AF point selection Canon Exposure Mode : Program AE Lens Type : Unknown (-1) Max Focal Length : 28.8125 mm Min Focal Length : 7.1875 mm Focal Units : 32/mm Max Aperture : 2.5 Min Aperture : 8 Flash Activity : 0 Flash Bits : (none) Focus Continuous : Single AE Setting : Normal AE Zoom Source Width : 2592 Zoom Target Width : 2592 Spot Metering Mode : Center Photo Effect : Off Manual Flash Output : n/a Focal Type : Zoom Focal Plane X Size : 7.37 mm Focal Plane Y Size : 5.51 mm Auto ISO : 100 Base ISO : 50 Measured EV : 10.75 Target Aperture : 4 Target Exposure Time : 1/50 Exposure Compensation : 0 White Balance : Auto Slow Shutter : Off Shot Number In Continuous Burst : 0 Optical Zoom Code : 6 Flash Guide Number : 0 Flash Exposure Compensation : 0 Auto Exposure Bracketing : Off AEB Bracket Value : 0 Control Mode : Computer Remote Control Focus Distance Upper : 2.04 m Focus Distance Lower : 0 m Bulb Duration : 0 Camera Type : Compact Auto Rotate : None ND Filter : Off Self Timer 2 : 0 Flash Output : 0 Num AF Points : 9 Valid AF Points : 1 Canon Image Width : 640 Canon Image Height : 480 AF Image Width : 2592 AF Image Height : 215 AF Area Width : 467 AF Area Height : 39 AF Area X Positions : 0 0 0 0 0 0 0 0 0 AF Area Y Positions : 0 0 0 0 0 0 0 0 0 AF Points In Focus : 0 Primary AF Point : 0 Thumbnail Image Valid Area : 0 0 0 0 Canon Image Type : IMG:PowerShot G5 JPEG Canon Firmware Version : Firmware Version 2.00 File Number : 141-4188 Owner Name : Canon Model ID : PowerShot G5 User Comment : Flashpix Version : 0100 Color Space : sRGB Exif Image Width : 640 Exif Image Height : 480 Interoperability Index : R98 - DCF basic file (sRGB) Interoperability Version : 0100 Related Image Width : 640 Related Image Height : 480 Focal Plane X Resolution : 2261.484099 Focal Plane Y Resolution : 2264.150943 Focal Plane Resolution Unit : inches Sensing Method : One-chip color area File Source : Digital Camera Custom Rendered : Normal Exposure Mode : Auto Digital Zoom Ratio : 1 Scene Capture Type : Standard Compression : JPEG (old-style) Thumbnail Offset : 2048 Thumbnail Length : 3264 Image Width : 640 Image Height : 480 Encoding Process : Baseline DCT, Huffman coding Bits Per Sample : 8 Color Components : 3 Y Cb Cr Sub Sampling : YCbCr4:2:2 (2 1) Aperture : 4.0 Drive Mode : Single-frame Shooting ISO : 50 Image Size : 640x480 Lens : 7.2 - 28.8 mm Lens ID : Unknown 7-28mm Scale Factor To 35 mm Equivalent: 4.8 Shooting Mode : Program AE Shutter Speed : 1/50 Thumbnail Image : (Binary data 3264 bytes, use -b option to extract) Circle Of Confusion : 0.006 mm Field Of View : 29.1 deg Focal Length : 14.4 mm (35 mm equivalent: 69.4 mm) Hyperfocal Distance : 8.32 m Lens : 7.2 - 28.8 mm (35 mm equivalent: 34.6 - 138.8 mm) Light Value : 10.6
Last edited by Sysman; 17 February 2013, 19:49.
Leave a comment:
-
Well it's a valid jpeg file, if that's what you wanted to know.
Why don't you try opening it on your Win7 machine, doing a "Save As" to overwrite it with itself, same filename, and see if it then works?
Anything that "listens" in a directory is likely waiting for filenames to arrive and is unlikely to be sensitive to what's in it. For example, take a text file, rename it to .JPG and see if that works.
I did notice that the filename is not 8+3 so could that be something to do with it?
Leave a comment:
-
Originally posted by mudskipper View PostChecking the obvious
How's the app configured? Are file extensions case sensitive?
Leave a comment:
-
Originally posted by Archangel View PostI've got an app which "listens" to a directory on my pc and when a jpeg arrives it fires up a sub app.
Now this works with a jpeg from a windows 7 machine, but not with one created on an xp laptop, anyone have any clues?
Here is one which doesn't get detected
https://www.dropbox.com/s/3x6m5zhone...ture_00046.zip
(I've zipped it otherwise it would just open in a browser)
Thanks
How's the app configured? Are file extensions case sensitive?
Leave a comment:
-
Jpeg not a jpeg?
I've got an app which "listens" to a directory on my pc and when a jpeg arrives it fires up a sub app.
Now this works with a jpeg from a windows 7 machine, but not with one created on an xp laptop, anyone have any clues?
Here is one which doesn't get detected
https://www.dropbox.com/s/3x6m5zhone...ture_00046.zip
(I've zipped it otherwise it would just open in a browser)
ThanksTags: None
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- Streamline Your Retirement with iSIPP: A Solution for Contractor Pensions Sep 1 09:13
- Making the most of pension lump sums: overview for contractors Sep 1 08:36
- Umbrella company tribunal cases are opening up; are your wages subject to unlawful deductions, too? Aug 31 08:38
- Contractors, relabelling 'labour' as 'services' to appear 'fully contracted out' won't dupe IR35 inspectors Aug 31 08:30
- How often does HMRC check tax returns? Aug 30 08:27
- Work-life balance as an IT contractor: 5 top tips from a tech recruiter Aug 30 08:20
- Autumn Statement 2023 tipped to prioritise mental health, in a boost for UK workplaces Aug 29 08:33
- Final reminder for contractors to respond to the umbrella consultation (closing today) Aug 29 08:09
- Top 5 most in demand cyber security contract roles Aug 25 08:38
- Changes to the right to request flexible working are incoming, but how will contractors be affected? Aug 24 08:25
Leave a comment: