Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!d21g2000yqn.googlegroups.com!not-for-mail
From: ImageAnalyst <imageanalyst@mailinator.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: how to check whether an image can be edited or not in MATLAB?
Date: Fri, 6 Nov 2009 10:06:54 -0800 (PST)
Organization: http://groups.google.com
Lines: 21
Message-ID: <49192319-eb89-4cb2-89b3-bdd261208017@d21g2000yqn.googlegroups.com>
References: <hd1kp0$b25$1@fred.mathworks.com>
NNTP-Posting-Host: 192.44.136.113
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1257530814 2830 127.0.0.1 (6 Nov 2009 18:06:54 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 6 Nov 2009 18:06:54 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: d21g2000yqn.googlegroups.com; posting-host=192.44.136.113; 
	posting-account=0rLUzAkAAABojYSRC64DkTbtiSCX77HH
User-Agent: G2/1.0
X-HTTP-Via: 1.1 bdci2px (NetCache NetApp/6.0.7)
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; 
	CyberSafe-IWA-Enable; .NET CLR 1.1.4322; .NET CLR 2.0.50727; MS-RTC LM 8; 
	.NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 
	3.5.30729),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:583070


On Nov 6, 12:01 pm, "Arcee Gomes" <arcee.go...@gmail.com> wrote:
> Hello,
>
> I am working on a project in Image Processing area, and as a part of the project I have to write a code in matlab that must check whether the input image provided through imread function is a secured image (i.e. image that cannot be edited or modified) or not a secured image.
>
> I want to know how to check whether an image can be edited or not in MATLAB? i.e. How to check whether an image is secured (encrypted) or not?
>
> Please provide a solution to this problem. Thanking you in advance !!!

-----------------------------------------------------------------------
try
  goodImage = imread(fullFileName);
  % If you get to here, it can be read.
catch ME
  % MATLAB can't read it with built-in functions.
  msgbox(ME.message);
end