Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question got me thinking about another project I've got on my 'to do' list. It's a 'multimedia' (blarg) piece with dynamically-generated video projection. I've run an early version of it, but I'd like the video to be partially generated by files on the performer's computer— the idea being that it's going to find your NSFW pics and show them (in mangled, blurred, BGRA-shifted form) buried within the piece. Blah blah, art, edgy, whatever.

Can anyone think of attributes those files would have that, say, vacation snapshots wouldn't? So far it's just image size: super-small images are probably internal support for applications, clip-art or icons. Super-big images probably came straight off a camera. (although maybe not!) But I think there's a way to get smarter than this-- I guess I'm thinking batches of files with non-identical but within-a-short-span creation dates (indicating download) and a "last opened" later than "last modified".

Surely there are some others, or reasons why the ones I list wouldn't work?

This will be a C++ binary but can call a shell script if that's a better way of doing what I need.

share|improve this question

closed as off topic by Linker3000, RedGrittyBrick, 8088, slhck, sblair Sep 5 '11 at 17:48

Questions on Super User are expected to relate to computer software or computer hardware within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

Your method might, possibly, distinguish between "downloaded-from-web" and "copied-from-camera"; are you operating under the assumption that "99% of Net is porn, so statistically speaking, downloaded image == porn"? (Y'know, people do download other things - e.g., I have many vacation photos on my computer; those are SWF, even though they got there through that naughty Internet ;)) – Piskvor Sep 5 '11 at 10:15
Is there a way to do this? I mean, files named mEk202Wa3ptvozmqWeABYP7No1_500.jpeg are a natural hit (though it will take some thinking to have software tell the difference between that and MSC1601.jpg which would be a camera file). But, there's nothing in the file metadata that says where it came from, is there? – buildsucceeded Sep 5 '11 at 10:21
I have yet to see the Evil Bit (or the complementing Naughty Bit) implemented in actual software. There's EXIF data, but that 1) is optional (and non-verifiable), and 2) usually contains data such as "camera make and model,flash used, GPS coordinates foo N bar W, date this-and-that". Note also that "vacation snapshots" and "spicy" could overlap (see the average Facebook profile); moreover, the eternal "what is spicy?" question - are bikinis spicy? – Piskvor Sep 5 '11 at 10:29
Perhaps a scoring mechanism which (among other things) gives higher weight to directory paths including names like "stuff", "pers", "old", or "faxes"? – buildsucceeded Sep 5 '11 at 11:14
Is that supposed to be "spicy" or "SFW"? Looks perfectly neutral to me - what is the rationale for these (random-looking) names? What makes them special one way or another? – Piskvor Sep 5 '11 at 12:16

Fellow, the only relatively safe way to do that is to save EVERY spicy file in another hard drive which is not mounted on system startup.

Better yet, in an encrypted partition, so you do not "forget it mounted" by mistake.

But never, NEVER let clean and spicy files be mixed up.

Also: some site's favicons, although thumbnail-sized, may be VERY embarrassing.

share|improve this answer
I think you're misunderstanding the intent: The idea is that the performer is intentionally giving the software access to these files. So we don't want a "safe" way, we want an "unsafe" one. Good point about the favicons, though. – buildsucceeded Sep 5 '11 at 13:27
I know, but I actually believe there is no way, whatsoever, to be 100% sure that any slideshow software, as smart as it might be, could detect and block EVERY 'spicy' content from being shown, specially if the spicy and normal contents are mixed. If only one spicy photo is shown in the wrong time, the damage is done. Now, if it is not about spicy content the OP is talking about, the question's title should be rewritten. – heltonbiker Sep 5 '11 at 14:02
That might be true, but it's not what the OP is asking. – buildsucceeded Sep 5 '11 at 15:14
Well, in that case (unfortunately) I think the answer is a solid "NO", because jpegs are jpegs. Only humans with their ethic and aesthetic senses could judge these images. – heltonbiker Sep 5 '11 at 17:44

Not the answer you're looking for? Browse other questions tagged or ask your own question.