Saturday 5 November 2011
Image Resizing Using Linux Command Line
Image resizing is one of those things in linux that should not be done using GUI. Better than GUI, there is a part of ImageMagick package for effective resizing of any image.
For resizing images, you need to have ImageMagick installed in your linux system. ImageMagick is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (about 100) including GIF, JPEG, JPEG-2000, PNG, PDF, PhotoCD, TIFF, and DPX. You can use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bezier curves.
For ubuntu and debian based distros, type the following in console for installation:
Now, to resize any image, we can either use mogrify or convert command(these commands are far more complex and useful than just resizing, check man mogrify for more details of their functionalities.) that is part of ImageMagick suite.
For example, to resize an image you can use the following command:
That would reduce the size to 50% of the original size.
To resize to certain pixel, you can specify the expected dimension as below:
Read more...
For resizing images, you need to have ImageMagick installed in your linux system. ImageMagick is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (about 100) including GIF, JPEG, JPEG-2000, PNG, PDF, PhotoCD, TIFF, and DPX. You can use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bezier curves.
For ubuntu and debian based distros, type the following in console for installation:
sudo apt-get install imagemagick
Now, to resize any image, we can either use mogrify or convert command(these commands are far more complex and useful than just resizing, check man mogrify for more details of their functionalities.) that is part of ImageMagick suite.
For example, to resize an image you can use the following command:
mogrify -resize 50% image_name.jpg
That would reduce the size to 50% of the original size.
To resize to certain pixel, you can specify the expected dimension as below:
mogrify -resize 800x600 image_name.jpg
Read more...
Image Resizing Using Linux Command Line
2011-11-05T19:41:00+05:45
Cool Samar
graphics|image resizing|imagemagick|linux|ubuntu|
Comments
Labels:
graphics,
image resizing,
imagemagick,
linux,
ubuntu
Bookmark this post:blogger tutorials
Social Bookmarking Blogger Widget |
Friday 4 November 2011
SEO Friendly and Better Title For Blogspot Blog
The blogger blogspot has a default setting to show the title of posts page in your blog in the format Blog Name : Post Title which is not much SEO friendly. Better would be the format Post Title : Blog Name. Changing to this better format is very simple and easy.
Go to your design page and click on Edit HTML and then check the Expand Widget Templates checkbox.
Now search for:
Replace that whole thing you've just searched with the following blogger code:
Now you should see the effect in action. :)
Read more...
Go to your design page and click on Edit HTML and then check the Expand Widget Templates checkbox.
Now search for:
<title><data:blog.pageTitle/></title>
Replace that whole thing you've just searched with the following blogger code:
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<title><data:blog.pageTitle/></title>
<b:else/>
<title><data:blog.pageName/>: <data:blog.title/></title>
</b:if>
<title><data:blog.pageTitle/></title>
<b:else/>
<title><data:blog.pageName/>: <data:blog.title/></title>
</b:if>
Now you should see the effect in action. :)
Read more...
SEO Friendly and Better Title For Blogspot Blog
2011-11-04T20:58:00+05:45
Cool Samar
blog|blogspot|search engine optimization|seo|
Comments
Labels:
blog,
blogspot,
search engine optimization,
seo
Bookmark this post:blogger tutorials
Social Bookmarking Blogger Widget |
Wednesday 2 November 2011
Reversing Android Applications With ARE
A new platform ARE has been developed for making android reverse engineering easy and fast. With many necessary tools packaged in a single tool, ARE is a Virtual Machine for Android Reverse Engineering.
You just need to load the new virtual machine with virtualbox and you are ready for android reverse engineering.
The softwares present in ARE are:
Androguard
Android sdk/ndk
APKInspector
Apktool
Axmlprinter
Ded
Dex2jar
DroidBox
Jad
Smali/Baksmali
Both the login username and password for ARE is android
Download ARE
More mirrors:
Mirror 1
Mirror 2
Good luck with android reversing.
Read more...
You just need to load the new virtual machine with virtualbox and you are ready for android reverse engineering.
The softwares present in ARE are:
Androguard
Android sdk/ndk
APKInspector
Apktool
Axmlprinter
Ded
Dex2jar
DroidBox
Jad
Smali/Baksmali
Both the login username and password for ARE is android
Download ARE
More mirrors:
Mirror 1
Mirror 2
Good luck with android reversing.
Read more...
Reversing Android Applications With ARE
2011-11-02T20:23:00+05:45
Cool Samar
android|cracking|reverse engineering|
Comments
Labels:
android,
cracking,
reverse engineering
Bookmark this post:blogger tutorials
Social Bookmarking Blogger Widget |
Tuesday 1 November 2011
How To Search Strings In Binary Files in Linux
There is this very useful strings command in linux that lets us to search strings inside binary and object files. This is useful for developers in many cases and also for linux binary crackers. Also, end users can study more about executable with this command.
I've used strings command several times for ELF binary cracking and the command helps us gather more information of any given executable. It supports many executables and object formats such as elf32-i386, a.out-i386-linux, pei-i386, elf32-little, elf32-big, elf64-x86-64, pei-x86-64, elf64-l1om, elf64-little, elf64-big, plugin, srec, symbolsrec, verilog, tekhex, binary, ihex, and trad-core.
Usage:
The command itself is pretty easy to use, the simplest being as below:
Specify the name of object or executable file of supported type and you are good to go. However you might want to customize the way strings command searches the strings in the given file. For example, to search for strings in all the sections of the file(by default, it searches only
the data section), you can use the command as below:
There are much more options which you can study by typing strings -h and man strings in the terminal. I hope it helps you.
Read more...
I've used strings command several times for ELF binary cracking and the command helps us gather more information of any given executable. It supports many executables and object formats such as elf32-i386, a.out-i386-linux, pei-i386, elf32-little, elf32-big, elf64-x86-64, pei-x86-64, elf64-l1om, elf64-little, elf64-big, plugin, srec, symbolsrec, verilog, tekhex, binary, ihex, and trad-core.
Usage:
The command itself is pretty easy to use, the simplest being as below:
strings file_name
Specify the name of object or executable file of supported type and you are good to go. However you might want to customize the way strings command searches the strings in the given file. For example, to search for strings in all the sections of the file(by default, it searches only
the data section), you can use the command as below:
strings -a file_name
There are much more options which you can study by typing strings -h and man strings in the terminal. I hope it helps you.
Read more...
How To Search Strings In Binary Files in Linux
2011-11-01T20:13:00+05:45
Cool Samar
cracking|linux|tricks and tips|
Comments
Labels:
cracking,
linux,
tricks and tips
Bookmark this post:blogger tutorials
Social Bookmarking Blogger Widget |
Shortcuts For Copy and Paste In Linux Terminal
If you are used to with Ctrl + c and Ctrl + v for copy paste tasks in graphical tools, you will come to know these shortcuts do not work in linux terminal. However you still have the luxury of using such shortcut but with the help of one more finger to press the extra Shift key.
You might have already figured out what shortcuts you have to use. If not, they are Shift + Ctrl + C and Shift + Ctrl + V for copy and paste respectively. I hope this is helpful.
Read more...
You might have already figured out what shortcuts you have to use. If not, they are Shift + Ctrl + C and Shift + Ctrl + V for copy and paste respectively. I hope this is helpful.
Read more...
Shortcuts For Copy and Paste In Linux Terminal
2011-11-01T18:54:00+05:45
Cool Samar
linux|tricks and tips|
Comments
Labels:
linux,
tricks and tips
Bookmark this post:blogger tutorials
Social Bookmarking Blogger Widget |
Two Really Useful Shortcuts While Using Linux Terminal
In this post, I am going to share two really useful shortcuts while using linux terminal. When you get to use these two shortcuts, you will always be using them for ease while operating under terminal.
Both of these shortcuts are used for ease while erasing the erroneous words or commands in terminal. Rather than pressing backspace all the time, you would love to see some shortcuts to achieve the same. And here are two commands that you will usually be using.
The first one is Ctrl + w which will erase the current word you are typing. For example, you typed cat abcdef and you want to remove abcdef, then you can use Ctrl + w. So this shortcut would erase whole word at the last of command you are typing.
The other one is Ctrl + u which will erase whole line of command you are currently typing. For instance, you typed ls -lia /home/user/Downloads and you think "Oh that's not the command I want to execute right now", then you can safely use the shortcut Ctrl + u.
I hope you find these shortcuts useful while using linux terminal.
Read more...
Both of these shortcuts are used for ease while erasing the erroneous words or commands in terminal. Rather than pressing backspace all the time, you would love to see some shortcuts to achieve the same. And here are two commands that you will usually be using.
The first one is Ctrl + w which will erase the current word you are typing. For example, you typed cat abcdef and you want to remove abcdef, then you can use Ctrl + w. So this shortcut would erase whole word at the last of command you are typing.
The other one is Ctrl + u which will erase whole line of command you are currently typing. For instance, you typed ls -lia /home/user/Downloads and you think "Oh that's not the command I want to execute right now", then you can safely use the shortcut Ctrl + u.
I hope you find these shortcuts useful while using linux terminal.
Read more...
Two Really Useful Shortcuts While Using Linux Terminal
2011-11-01T18:01:00+05:45
Cool Samar
linux|tricks and tips|
Comments
Labels:
linux,
tricks and tips
Bookmark this post:blogger tutorials
Social Bookmarking Blogger Widget |
Saturday 29 October 2011
Batch Image Processing Using GIMP
I've previously enlisted few tools regarding batch image resizing in windows. However they are limited to windows only and I was searching for something which was cross-platform. With some search, I found that GIMP loaded with David's Batch Processor would let us resize the images easily.
DBP (David's Batch Processor) is a simple batch processing plugin for the Gimp - it allows the user to automatically perform operations (such as resize) on a collection of image files. Its main advantage is that the user does not have to learn a scripting language. Like the Gimp itself, DBP relies on a graphical interface. The user creates a list of images, and sets up the processing required for each image. The results of the current settings can be displayed. Once the required sequence of operations has been set up, DBP performs the same processing on each image in turn. The images can be colour corrected, resized, cropped, and sharpened, then renamed and saved to a different file in a specified image format.
Check official website for more information on installation and downloads.
Read more...
DBP (David's Batch Processor) is a simple batch processing plugin for the Gimp - it allows the user to automatically perform operations (such as resize) on a collection of image files. Its main advantage is that the user does not have to learn a scripting language. Like the Gimp itself, DBP relies on a graphical interface. The user creates a list of images, and sets up the processing required for each image. The results of the current settings can be displayed. Once the required sequence of operations has been set up, DBP performs the same processing on each image in turn. The images can be colour corrected, resized, cropped, and sharpened, then renamed and saved to a different file in a specified image format.
Check official website for more information on installation and downloads.
Read more...
Batch Image Processing Using GIMP
2011-10-29T14:44:00+05:45
Cool Samar
bulk image resizing|gimp|graphics|software|
Comments
Labels:
bulk image resizing,
gimp,
graphics,
software
Bookmark this post:blogger tutorials
Social Bookmarking Blogger Widget |
Bulk Image Resizing Tools For Windows
You will most likely find a situation when you need to resize multiple images at once. One example is while uploading pictures taken from high megapixel digital cameras. I had the same situation and googled to find few useful softwares for windows which I am going to list here.
1) Picture Resizer: An easy-to-use and free standalone tool for batch resizing of JPG pictures and photos. The tool is using high-quality resizing method, where color of each pixel is a weighted average of all covered pixels from the original image. Linear interpolation is used when zooming in. The algorithm is optimized to work with gamma-corrected pictures.
2) Fotosizer: Fotosizer is a free batch photo/image resizer tool. It lets you resize hundreds of photos in a matter of minutes in a quick and easy way. With Fotosizer, you can shrink JPEG image files, along with other supported formats, and dramatically reduce internet transfer times, enabling you to quickly and easily prepare your image collections to be published on the web.
3) Imagisizer: Imagisizer is absolutely the easiest, straight forward, image resizer and
converter around. It supports major image formats such jpg, png, gif and bmp. You need .NET framework for this tool to work which is bundled along with most moder Windows OS I guess.
4) PhotoResizer: Simple tiny sized batch resizing tools supporting multiple formats in input but only jpeg as output.
I hope some of these tools count useful for you as well like they did to me.
Read more...
1) Picture Resizer: An easy-to-use and free standalone tool for batch resizing of JPG pictures and photos. The tool is using high-quality resizing method, where color of each pixel is a weighted average of all covered pixels from the original image. Linear interpolation is used when zooming in. The algorithm is optimized to work with gamma-corrected pictures.
2) Fotosizer: Fotosizer is a free batch photo/image resizer tool. It lets you resize hundreds of photos in a matter of minutes in a quick and easy way. With Fotosizer, you can shrink JPEG image files, along with other supported formats, and dramatically reduce internet transfer times, enabling you to quickly and easily prepare your image collections to be published on the web.
3) Imagisizer: Imagisizer is absolutely the easiest, straight forward, image resizer and
converter around. It supports major image formats such jpg, png, gif and bmp. You need .NET framework for this tool to work which is bundled along with most moder Windows OS I guess.
4) PhotoResizer: Simple tiny sized batch resizing tools supporting multiple formats in input but only jpeg as output.
I hope some of these tools count useful for you as well like they did to me.
Read more...
Bulk Image Resizing Tools For Windows
2011-10-29T14:30:00+05:45
Cool Samar
bulk image resizing|graphics|software|windows|
Comments
Labels:
bulk image resizing,
graphics,
software,
windows
Bookmark this post:blogger tutorials
Social Bookmarking Blogger Widget |
Subscribe to:
Posts (Atom)