Skip to main content

Posts

Showing posts with the label Technical

Making a privacy policy

 If you display ads, sell product or collect Credit Card information — and worried about "How to make a privacy policy" for that  go here , perhaps it could help you a lot.

Image file types and extension in Photoshop

 An image has two important factors: 1) quality of colors in it, 2) and how it looks like in different displays or resolutions, for example, pc, tab and smartphones. Knowing factors which are responsible for an image, helps in delivering specific image type for specific purpose. Here are few things about images, I think everyone should know. Image files heavy in their size, are often  uncompressed , they contain data and you can edit every bit and pieces of it. Compressed images  are lighter in size, and you can't edit them. Raster or say bitmap  images are pixel based, if you turn 50 x 50 to some larger size, for example, 100 x 100 —  they loose color, 'coz empty pixels come to fill the gap. If you turn an  vector image  from 50 x 50 to even much larger size, say 500 x 500, it won't loose any color 'coz it's path based. . psd file : it is a Photoshop file, uncompressed and editable version. If you wish to re-edit your work don't forget to save it...

Some of my favorite tools and utilities in Photoshop workspace

  Behance : first one is, File > Share on Behance, good thing to show your work to the world and like minded people. Appreciate others' work and get appreciated for good work. Compare different images:  Windows > Arrange , best thing for image comparison. Count tool : Image > Analysis > Count tool, helps to count multiple marks in your image, for example, number of stars or number of ducks. Spot healing  helps removing blemishes or acne on skin;  healing  helps in cloning, or copying and pasting from source target to the object ( clone stamp tool  also works in somewhat similar fashion);  patch  helps kind of overlapping with mirroring from the target to the source;  content aware move tool  helps in moving object and filling the remaining area by surrounding pixels, it also works pretty well when we extend somebody's height and width, something like thickness of a chest, stomach, lip or face;  red eye  to remo...

Scrubby zoom in Photoshop

 You may find this option at top middle of Photoshop. This option helps in quick zooming with the drag of the mouse. How to go about it? Just load any image, press "z" to bring "zoom tool," make sure "scruby zoom" isn't enabled. Now press down left button of the mouse and drag it to the left or right; you'll find that you're creating a mess. Now just "enable" scrubby zoom and do that again, you will find how fast does it go — zoom in or zoom out — with the drag of the mouse.

What is scalable vector graphics ( svg images)?

  In simple words — They are written in codes (xml); or image editors turn an image into codes (svg image). They scale as per the size of the browser. You can change their color via CSS. You can use them in your web pages (i.e., <img>, <embed>). Learning svg elements gives you mastery in making awesome images — https://www.w3.org/wiki/HTML/Elements/svg https://developer.mozilla.org/en-US/docs/Web/SVG/Element Useful on svg — Browser support https://www.w3.org/TR/SVG11/ https://www.w3.org/Graphics/SVG/ https://www.w3.org/blog/SVG/ http://www.svgbasics.com http://www.learnsvg.com https://psdtowp.net/svg.html http://svgtutorial.com https://css-tricks.com/using-svg/ http://webdesign.tutsplus.com/articles/getting-started-with-scalable-vector-graphics-svg--webdesign-7515 http://www.creativebloq.com/design/examples-svg-7112785 http://svg-edit.googlecode.com/svn-history/r1771/trunk/editor/svg-editor.html  

Photoshop tools & shortcut commands for windows

 If you are beginner in Photoshop, learning shortcut commands may be useful. Here is the list, I'll keep on adding to it time to  time as I learn new commands. Remember 'em first: # Use "shift" for adding to selection. # Use "alt" for subtraction from selection. # Use "shift+alt" to get intersection area. # Use "[" to decrease and "]" to increase the size of the cursor (i.e., brush). Undo - Redo # Use ctrl+alt+Z for "undo" and ctrl+shift+Z for "redo". # You can also use F12 to restore an image (File>Revert). # Also can use "history panel" for getting back to any state of change ( window menu > history ). Zoom z + click to zoom in any part of image z + alt + click to zoom out ctrl + spacebar to zoom in ctrl + alt + spacebar to zoom out ctrl+0 image to fit-in in canvas ctrl+1 100% zoom alt + scroll-up to zoom-in alt + scroll-down to zoom-out select zoom tool or hold z > draw a rect to zoom-in...

Color basics

 If you use any image editing software, you should know the following terms; though it is only the beginning many other things I may try later on. 0 darkest; 255 brightest. darkest luminance is called - SHADOWS. lightest luminance is called - HIGHLIGHT. in between them is called - MIDTONES channels : RED - GREEN - BLUE. red+green =yellow, green+blue =cyan, blue+red = mergenta RGB : Red, Green, Blue CMYK: Cyan, Magenta, Yellow, Black HSB : Hue (0 to 360 degree, all the rainbow colors are here), Saturation (0 to 100 %, percentage of a color), Brightness (0 to 100, o for whiteness, 100 for darkness) png-8 means 8 bits of data to each pixel; png-24 means 24 bits of data to each pixel.

Calculation of PPI for various screen

 PPI stands for Pixels Per Inch. To find out, how I calculated PPI for various screen, pls. check the followings. iPhone 6 Plus:  Retina HD Display; screen 5.5 inch (diagonal); resolution 1920×1080, px; d square = 1920*1920+1080*1080; d square = 3,686,400+1,166,400; d square = 4, 852, 800; d =2,202.907170082298; ppi = 2,202.907170082298 /5.5 = 400.5285763785997ppi | 401 ppi iPhone 6:  Retina HD Display; screen 4.7 inch (diagonal); resolution 1334x750-pixel resolution at 326 ppi iPhone 5S  : Retina Display; screen 4-inch (diagonal); 1136x640-pixel resolution at 326 ppi iPhone 5C : Retina Display; screen 4-inch (diagonal); 1136x640-pixel resolution at 326 ppi MacBook Pro : screen 13.3 inch;Retina display: 2560x1600 px resolution; d sqr = 6,553,600+2,560,000; d = 3,018.873962258113; d = 54.94428052361877; ppi = d/13.3 = 226.9830046810611 | or say 227 ppi . MacBook Pro : screen 15.4 inch;Retina display: 2880x1800 resolution; 220 ppi . iMAC with Retina 5K Display  : ...

How to disable JavaScript on a page

 Many times when you feel like copying few words, sentences, or saving an image through right click, you find that JavaScript on that page isn't allowing you to do so. And you can't copy without disabling the JavaScript. If you use Chrome or Comodo Dragon browser, there is an extension that will help you to disable the JavaScript on that page and let you allow, copying the text, you wished to do. That extension is  Quick JavaScript Switcher : open this link, click on ADD TO CHROME, and you are done. When you feel like disabling JavaScript on a page, just click on the icon, that you will be seeing at top right position of your browser. The good thing is, you can switch it on/off on the fly: means in a second when you press it, JavaScript is disabled; when you again press it, JavaScript is enabled.

HTML5 table structure

 Table structure in HTML is simple to learn; once you understand what does they mean? like <tr>, <td>, <th>, <caption>, and others; let's have a look. ! Alert: Keep in mind to write between opening and closing tags. <table> </table>  : All the table codes fall between these two, opening and closing tags of the table. <caption> </captions>  : First child of <table>, describe the table, for example, "Table for vegetables" <colgroup><col> </col> </colgroup>  : Child of <table>, describe the grouping of columns, comes before <thead>, <tbody>, and <tfoot> . Example: <colgroup> <col span="2" style="background-color:red"> <col style="background-color:yellow"> </colgroup> <thead> </thead>  : Child of <table>, comes after <caption> and <colgroup>; and It is the head for <tbody> , so comes bef...

What is Unicode?

 While learning a language, you may come across "charset" where you mention this Unicode; for example, in HTML5 you write like <meta charset="utf-8"> or "utf-16" for some other language. UTF's full-form is Unicode Transformation Format. As computer deals with binary ( 0 and 1), Unicode is a specific code or say numbers for text and symbols. We can't use two Unicode formats for a single document. For Browsers, UTF gives a format and tells how to process the page. When Browsers support that UTF, the page renders well, otherwise broken and messed up.

How Did I Get Approved My AdSense Account For My Blog

 When first I applied for AdSense my application was rejected, 'coz 1) I had a new site, 2) only few posts on it, 3) didn't mention the Privacy Policy. So I waited more than six months; wrote more than 50 posts on that; tried to get some traffic by inviting some friends to read my blog; and mentioned a Privacy Policy, "visitors privacy to this site is important," and all the necessary things about cookies and other technical stuff mentioned by Google. When second time I applied, my application was rejected. That's it! If your blog has content (genuine, not copy and paste) and is more of six months in age — I think you can get an AdSense account easily.