Answer the question
In order to leave comments, you need to log in
How to cut out images that are smaller than a certain size using REGXP?
When parsing web pages (using the Yahoo Pipes service), a problem arises: all sorts of emoticons are parsed, icons are unnecessary. What should be the REGEX for clipping images less than 200px wide, for example?
Answer the question
In order to leave comments, you need to log in
If the image size is not specified inside the tag, the only way to find out is to download the file with it, at least partially. REGEX won't help here.
And if the sizes are still present, there is another problem - parsing XML - figurative data is needed not with regular expressions, that's for sure.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question