Class: IPTC::JPEG::Markers::SOIMarker
- Inherits:
-
IPTC::JPEG::Marker
- Object
- IPTC::JPEG::Marker
- IPTC::JPEG::Markers::SOIMarker
- Defined in:
- lib/iptc/jpeg/markers.rb
Overview
SOIMarker
The Start Of Image Marker
Instance Attribute Summary
Attributes inherited from IPTC::JPEG::Marker
Instance Method Summary collapse
Methods inherited from IPTC::JPEG::Marker
NewMarker, #initialize, #l, #parse, #properties, #read, #to_binary
Constructor Details
This class inherits a constructor from IPTC::JPEG::Marker
Instance Method Details
#valid? ⇒ Boolean
16 17 18 |
# File 'lib/iptc/jpeg/markers.rb', line 16 def valid? return read(5)=="JFIF\0" end |