6
\$\begingroup\$

I was wondering if there was an easy way to make images smaller or larger. How would I do that?

| |
\$\endgroup\$
  • 2
    \$\begingroup\$ Possible duplicate of can anyone tell me how to scale down PNG images i put in an answer \$\endgroup\$ – pipe May 18 '18 at 9:09
  • \$\begingroup\$ Cross-site duplicate with complete information: How to reduce image size on Stack Overflow \$\endgroup\$ – Makyen May 19 '18 at 18:16
  • \$\begingroup\$ For the CircuitLab inserts I find that if I have a very small simple circuit I can make it display leatly in ladscape format by placing a token node or wire to the left and right of my circuit that makes the image wider than the 640 pixels and it gets scaled to a nice size. \$\endgroup\$ – KalleMP May 26 '18 at 8:26
10
\$\begingroup\$

Found this, I thought it was pretty cool.

Source: How to make pictures smaller?

Yes, just add an s, m or l (lowercase) at the end of the imgur link before the ".png".

For example, the image http://i.stack.imgur.com/9tE32.png can be made:

Small:

http://i.stack.imgur.com/9tE32s.png

http://i.stack.imgur.com/9tE32s.png


Medium:

http://i.stack.imgur.com/9tE32m.png

http://i.stack.imgur.com/9tE32m.png


Large:

http://i.stack.imgur.com/9tE32l.png

http://i.stack.imgur.com/9tE32l.png

| |
\$\endgroup\$
  • \$\begingroup\$ Nice to know! Now, how to make it work with schematics drawn with CircuitLab? :) \$\endgroup\$ – clabacchio May 18 '18 at 6:59
  • \$\begingroup\$ Just found out, you can do the same to the snippet when you insert the schematic, but I got weird results with 's'. Maybe it's worth to add it to the answer, since especially simple schematics end up quite large \$\endgroup\$ – clabacchio May 18 '18 at 7:03
  • \$\begingroup\$ You should not do this with CircuitLab images, it makes them non-editable without a lot of hassle. \$\endgroup\$ – pipe May 18 '18 at 9:04
  • \$\begingroup\$ Also, sadly related: electronics.meta.stackexchange.com/questions/5595/… (but now we have to add a few more years) \$\endgroup\$ – pipe May 18 '18 at 9:16
3
\$\begingroup\$

Instead of relying on SE or Imgur to handle images in specific ways, you can post images exactly as you want in the first place. Keep in mind that SE displays images to a maximum of 640 pixels wide. Therefore if you make your images 640 pixels wide or less, SE will display them exactly as you uploaded them.

Image editing software is widely available with cheap and free options, so anyone can do this. It's useful for other things than making images for SE too. Basic image manipulation is a capability anyone should have and feel comfortable with. Once you learn a particular toolset, you'll probably find it easier to make images the way you want rather than learning specifics of yet another system like SE/Imgur.

This is what I do with pretty much every image I upload, including schematics. I use Eagle to draw schematics, then export them to a image file with a Eagle script. I have another script that runs on Windows that takes the Eagle image and filters and resizes it to a nice resolution for displaying here. You can get a lot of information in a schematic that is 640 pixels if you lay it out with that in mind.

Photographs require a whole other set of manipulations before they are acceptable to inflict on everyone else here. In general, you should:

  1. FOCUS! Blurry pictures need not apply. If you can't post a good picture, don't post. Wait until you have access to a camera that can do what you need. There is no excuse. When I see a blurry picture, I usually don't even bother reading the text. I vote to close a unclear, downvote for dumping crap on us, and move on.

  2. CROP the picture to only the useful part. Way too often we see a little thingy in the middle of a big picture. Don't be so lazy. As with focus, there is no excuse.

  3. Remember to focus.

  4. Remember to crop.

  5. Fix the black and white levels. Just about any image software can automatically expand the dynamic range so that the darkest part is 0.0 and the lightest 1.0. Don't inflict muddy grayed-out pictures on us.

  6. Fix the color balance. Just about any image software lets you select a point in the picture and declare it a shade of gray. If there is nothing known white or gray in the picture, then take another one with something white slipped in. Use that as the gray reference to the other picture. Again, don't be lazy. You are asking lots of other people to spend a lot more of their free time to help you than it takes you to adjust the color balance of a picture.

  7. Fix the brightness. Just about any image software can slosh intensity towards the bright or dark end without changing the ends of the range. Digital camera pictures often need some "brightening" so that detail is not lost in the dark areas.

Pictures you include are part of your post, so they are part of what you will be judged by. Just like it's rude to dump crappy writing on us without even a single proofreading pass, it's just as rude to dump crappy pictures on us without even a attempt to make them easy to look at. In fact, since a picture is probably the first thing anyone sees, even if not at the top of the post, getting the pictures right is more important than the words. There is also no foreign language excuse with pictures.

As has been said many times here before, if you wouldn't hand it in as homework, it doesn't belong here either. In fact, we deserve better. Your teachers are being paid to look at your homework, but the people you are asking to look at your question are volunteers doing it in their free time.

| |
\$\endgroup\$
  • \$\begingroup\$ " Just like it's rude to dump crappy writing on us without even a single proofreading pass". "if you wouldn't hand it in as homework, it doesn't belong here either". It appears all this does not apply to sloppy writing. Like using "thru" instead of "through". \$\endgroup\$ – Sredni Vashtar May 20 '18 at 18:27
  • 1
    \$\begingroup\$ @SredniVashtar merriam-webster.com/dictionary/thru \$\endgroup\$ – pipe May 21 '18 at 11:36
  • 3
    \$\begingroup\$ The problem with "if you wouldn't hand it in as homework, it doesn't belong here either" is that my experience tells me that people have far lower standards than I would have expected regarding what passes as acceptable for homework. \$\endgroup\$ – Joren Vaes May 21 '18 at 12:19
  • \$\begingroup\$ @pipe, yes that's basically the definition of sloppy writing. "some technical journals" publish also 'original research' on overunity machines, or other bullshit, so? Try to hand in a master thesis with 'thru'. \$\endgroup\$ – Sredni Vashtar May 21 '18 at 15:17
  • \$\begingroup\$ @SredniVashtar Well, although we require a decent level of English here, we should not be elitists. Definitely we don't specifically require PhD or Research article fussiness about English. BTW, if we were to be that fussy, what about American vs. British? Would you accept centre instead of center of vice versa? Some Journals make (or at least made) a difference about it. And this is an easy choice even for a non-native speaker with a bit of upper education in English. What about synchronize vs. synchronise? Which is AmE and which is BrE? ... \$\endgroup\$ – Lorenzo Donati -- Codidact.com May 24 '18 at 7:08
  • 1
    \$\begingroup\$ @SredniVashtar ... We are not definitely here to enforce an English standard. There is a difference between dumping on us sloppy English full of "U 2 can do this" or "I dunno Y" slang (or, worse, leetspeech) and writing basic, understandable, English even with some grammar mistake. \$\endgroup\$ – Lorenzo Donati -- Codidact.com May 24 '18 at 7:09
  • \$\begingroup\$ Nice points, Olin. This is what I try to do every time I post a photo. Although I suspect you are a bit more fussy (given your photography background end expertise) about points 5, 6 and 7. ;-) Anyway, as you say, it is not difficult at all to focus most subjects on a test bench even with crappy phones (especially sheets of paper with notes on them). And cropping (and scaling/adjusting resolution or size) is almost as easy using freely available tools. \$\endgroup\$ – Lorenzo Donati -- Codidact.com May 24 '18 at 7:20
  • 1
    \$\begingroup\$ I would recommend a nice little program that I've been using for years: FastStone Image Viewer (fow Windows users; free for non-commercial or educational use!). Very robust; it does the basic things in a breeze with uncluttered interface; very lightweight and it comes in a portable version, too (so you can always take it with you on a pendrive)! \$\endgroup\$ – Lorenzo Donati -- Codidact.com May 24 '18 at 7:20
  • \$\begingroup\$ @LorenzoDonati the problem is when the author of those mistakes reverts back the corrections, essentially stating that there are A-series posters (who are above the rules) and B-series posters, who should follow the rules. \$\endgroup\$ – Sredni Vashtar Jun 9 '18 at 4:55
  • \$\begingroup\$ @SredniVashtar Again, it depends on which kind of corrections are made. If someone corrected typos or grammar mistakes in my posts, that would be ok. If someone changed the style of my English, that wouldn't be ok, even if the corrections aimed at an higher style of English. Remember the first rule of editing on SE network: respect the intent of the original poster. If I chose that set of words to convey the content, that must be respected if the English is grammatically correct. No one has the right to put words in anyone's mouth. It happened before to me, and I rolled back the editing. \$\endgroup\$ – Lorenzo Donati -- Codidact.com Jun 11 '18 at 6:33
  • \$\begingroup\$ @LorenzoDonati, I see: for A-series posters the rules must be interpreted, while for B-series posters, they must be applied. Changing 'thru' into 'through' changes the intent of the poster, right. LOL. \$\endgroup\$ – Sredni Vashtar Jun 11 '18 at 6:48
  • \$\begingroup\$ @SredniVashtar I see that you like to put words in the mouth of others. There are no series A and B posters. The fact that at a certain level "thru" (since you insist on that) is not considered acceptable doesn't mean that it is wrong. I hope Cambridge Dictionary is enough high level source for your tastes. It is marked "US not standard", it doesn't mean it is wrong..... \$\endgroup\$ – Lorenzo Donati -- Codidact.com Jun 11 '18 at 14:06
  • \$\begingroup\$ @SredniVashtar ... Do you want to enforce your variant of English and start edit wars? Then it is you that are not following the rules. There is no rule that says that SE posts must follow a well defined English standard. \$\endgroup\$ – Lorenzo Donati -- Codidact.com Jun 11 '18 at 14:06
  • \$\begingroup\$ @SredniVashtar To be more precise: the first absolute rule of SE is "be nice". Would you consider nice a person that continually corrects you while you are speaking because he thinks that your variant of English is wrong? \$\endgroup\$ – Lorenzo Donati -- Codidact.com Jun 11 '18 at 14:08
  • 1
    \$\begingroup\$ @SredniVashtar You still answer with using ad hoc arguments (you mentioned "thru" as an example, and I cited a reputable source indicating it is not wrong; again you reply H&H use "through", but that's not the point, since you seem to know that text, you must know that their style is so informal it won't pass always a "scientific paper style" test). Moreover you add sarcasm and "LOLs", instead of pointing out supposedly broken SE rules, as I did. Since now I see that your attitude doesn't appear to be constructive, and your replies don't try to address my counterarguments, I give up too. \$\endgroup\$ – Lorenzo Donati -- Codidact.com Jun 14 '18 at 12:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .