Pages

Showing posts with label Image Processing. Show all posts
Showing posts with label Image Processing. Show all posts

Wednesday, May 28, 2014

Tutorial: Install Photoshop on Ubuntu 14.04

This article is based on http://ajwebdesigner.in/blog/install-photoshop-cs6-on-linux-ubuntu-13-04/ and I made adjustment and notes based on my own experience.

I have use Ubuntu since Ubuntu 12.04 LTS and now Ubuntu 14.04 LTS. As you can see on the original article, this tutorial written for Ubuntu 13.04, but, I have done this many times on Ubuntu 12.04LTS and Ubuntu 14.04LTS without any serious issues (...or not yet found :D ).

What is needed:
1. Internet Connection with huge internet quota (we are gonna need <1GB, but prepare to 1-3GB quota)
2. Install bit torrent client from Ubuntu Software Center. I use Transmission BitTorrent Client.


What you need to know:
1. All command done in Command Line/Console/Terminal. Press CTRL+ALT+T to open it
2. One line of command begins with ~$ thecommand sign
3. Please copy-paste thecommand only, without ~$ sign
4. Do it sequentially
5. Do it on your own risk


LET'S BEGIN

Install Wine
1. Add specific repository for wine
     ~$ sudo add-apt-repository ppa:ubuntu-wine/ppa

2. Update your software database
     ~$ sudo apt-get update

3. Install wine
     ~$ sudo apt-get install wine1.5


Change wine prefix
If  we use default wine prefix, then wine will set it's prefix based on the Operating System architecture.
For example, if we use Ubuntu 64bit, then default wine prefix is 64bit.
Once we set wine prefix to an architecture, to 32bit for example, then all installed application on wine should be 32bit.
You cannot install 64bit application on 32bit wine prefix, or vise versa. The installation may runs well, but you will find lots and lots bugs when you runs the application latter on.

1. Delete default wine prefix at /home
     ~$ rm -rf .wine

2. Set wine prefix to your photoshop architecture (I use 32bit)
     ~$ WINEARCH=win32 WINEPREFIX=~/.wine winecfg


Install Dependencies Photoshop
Photoshop needs lots of windows library such as Internet Explorer, Visual C, msxml, etc. We need to use winetricks to ease the process.

Winetricks will help us check weather needed library is already installed, if not, it will download and install needed library automatically. Some library need human interaction, but don't worry, it's as simple as clicking Next, next, finnish (you know what I mean :D)

3 steps to use winetricks
1. Download winetricks
     ~$ wget http://kegel.com/wine/winetricks

2. runs winetricks to install libraries
     ~$ sh winetricks -q atmlib gdiplus ie6 vcrun2005sp1 vcrun2008 fontsmooth-rgb corefonts msxml3 msxml6 vcrun2010

3. Repeat no 2 above until you see:
     Executing w_do_call vcrun2010
     vcrun2010 already installed, skipping


Copy Windows DLL
Use browser and file manager to do these 2 command
2. Extract, Copy-paste odbc32.dll AND odbcint.dll to .wine/drive_c/windows/system32/ on your home directory


Install Photoshop
Finally, Installing Photoshop. For those who has the CD you can simply right click on setup.exe and choose Open with wine windows loader, then do the install process like you did on windows.


Run winetricks once more to make sure windows fonts are loaded.
     ~$ winetricks fontsmooth-rgb

To run Photoshop, you can use desktop shortcut or through Terminal
     ~$ wine '/home/namakamu/.wine/drive_c/Program Files/Adobe/Adobe Photoshop CS6/Photoshop.exe'


DONE!
Hope this help someone, and dont forget to leave your comments below, cheers... :)


Wednesday, June 26, 2013

Batch Image Processing: XnView


Who doesn't know IrfanView on Windows? For me IrvanView is an application that saves me on numerous occasion when using simple image editing on Photoshop or Gimp is totally Time Consuming and not worth the purpose.

I'm not saying Photoshop or Gimp is awful image processing, it's just there are certain circumstances that using both application is too much for simple, but massive processing.

Here is for example. Every week, I receive hundreds of images of transaction need to be processed with certain settings, some are:
1. Put watermark image on every single image
2. Reduce the dpi down to 80% to prevent people print them on high resolution.

Rather than using full-featured (not to mention need high computer spec) application like Photoshop and Gimp, I'm looking as simple as possible application that can do what I wanted.

On Windows, I found IrfanView, but on Linux, I just found XnView.

XnView is a multi platform free application, which means, it available on Windows, Mac OS X and Linux.

I'm not a geek, just common people converting from Windows to Linux, I use Ubuntu 12.04 LTS that never been updated since first install, I'm the type of person that "Don't fix things that did not broken" :D

Struggling finding replacement for IrfanView on Linux, I found XnView mentioned on few forums and struggling installing it.

But then, I read on ubuntu forum archive a simple way to install it. Here is the link: http://ubuntuforums.org/archive/index.php/t-1919820.html

Here is how to install it via command line:
sudo add-apt-repository ppa:dhor/myway
sudo apt-get update
sudo apt-get install xnview

After install it, you can find the application on the Application List or just type xnview on the command line.

Try it, but don't ask me to help you troubleshoot, I'm as clueless as you in terms of troubleshooting, I'm just a common people pretending to be a geek :P



You may also like

Related Posts Plugin for WordPress, Blogger...