Stuart’s MATLAB Videos

Watch and Learn

Updating My Image Size Check Function to Ignore a Class of Images

I need to update my script which checks that all the images on our web site are smaller than a max allowed size. I want to update it to ignore a class of images, however I can only determine if an image is in this particular class by inspecting the HTML tags on the page. I plan to use some functions from the Text Analytic Toolbox to help.

Features covered in thiscode-alongstyle video include:

  • webread,htmlTree,findElement,getAttribute

Follow me (@stuartmcgarrity) if you want to be notified via Twitter when I post.

Play the video in full screen mode for a better viewing experience.

|

댓글

댓글을 남기려면링크를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.