January 10, 2012

Export PDF (Layers) to Images (JPG, PNG, etc.)

Why you need to convert PDF to images? Lets say that you want to distribute presentations, scanned PDF e-books, etc on Facebook or whatever. It's easy with Opensource software with zero cost. Just do these:
  1. Install GIMP if you don't have it, download for free at http://www.gimp.org
  2. ..and its 'export layer' plugin (filename: 'export-layers.scm') at http://registry.gimp.org/node/25394
  3. Put the 'export-layers.scm' file in your GIMP installation directory.. something like.. 'C:\Program Files\Gimp-2.7.4\share\gimp\2.0\scripts'
  4. After copying the file to that directory, run GIMP.
  5. Open your desired .PDF file.
  6. Adjust the resolution.
  7. Then, the file will be opened as layers in GIMP.
  8. Make some adjustment or editing if you want.
  9. To save, (Menu) File > Layer.
  10. Enter the name.
  11. Save it (Make one directory for those file first - every pages will be saved as 1 file)
Here's some example of my personal profile converted from PDF, sized down and saved as JPG.








Please note that you can customize the file naming style by using tilde (~). Naming the Layers starting with 01 for the first layer up to 02, 03...09 will makes files easier to arrange when posting/uploading. If you have hundreds of files, change the first 9 layer with 001 up to 009.

Those profile were made with OpenOffice. You can download and install OpenOffice for free at: http://www.openoffice.org/. Actually, OpenOffice can export those files to images or PDF directly without any plugins. This post is just to show you how to convert PDF to images.

Cheers!

January 5, 2012

Copy / Salin / Tukar CD Lagu / Music / Audio ke MP3

Korang mesti ada time-time nak layan jiwang. Lebih-lebih lagi bila korang tengah fly / mimpi / ngigau / meroyan / kurang kasih sayang / rindu / dsb. So, bukak kabinet korek CD lama-lama yang 100% original, layan Rock kangkang.. mungkin tetiba korang terjumpa CD ucapan guru besar time sekolah rendah..

Oleh kerana ucapan guru besar tu best sesangat, aku nak ajar korang camner nak tukar ucapan guru besar yang best sesangat dalam CD tu jadi MP3 dan boleh share ngan kengkawan untuk bagi keinsafan kat diorang, dimana jua, asalkan ada player yang boleh main MP3.

Bahan-bahannya.
  1. Korang kena ada PC. Tak kira aa kat umah, kat CC, kat skolah, kat office.. memana pun boleh dan PC tu mesti ada CD/DVD Drive.
  2. Kalau bukan kat PC sendiri, korang kena ada USB / thumb drive.
  3. CD ucapan guru besar yang korang nak COPY / RIP.
  4. Pastu korang kena download software nie CDex kat sini.. http://prdownloads.sourceforge.net/cdexos/cdex_151.zip?download Ada version lain yang baru still 'Beta'. Tapi aku suggest 'Released version' yang portable. So boleh taruk dalam USB atau harddisk. Tak yah install install. Semak je..
  5. Lepas download, unzip semua kat harddisk C atau thumbdrive, (kat desktop pun boleh). Ikut suka korang la.. Run software tu..
  6. Masukkan CD ucapan guru besar, nanti kuar aaa list tracks kat dalam CD tu. Mark tracks yang korang nak - oleh kerana ucapan guru besar sumer best, mark je semua..
  7. Kat button belah kanan yang nombor 2 dari atas tu ada "Extract CD track(s) to Compressed Audio File(s)", Click situ.
  8. So.. dia start processing..
  9. Bila dah siap, semua MP3 ada kat dalam directory: "[Tempat korang unzip] \ cdex_151 \ my music \ no artist \ no title"

CDex 1.51


Pastu bleh layan jiwang.. yeay! Oops.. tak.. maksud aku, bleh layan ucapan guru besar.. sambil layan gambar guru besar sambil tunjuk 'peace' ngan guru disiplin, yang korang tengah browse dalam FB guru besar.. Perghh.. guru bsear nie memang suka ambik gambar muka sendiri pakai handphone..

Pastu, files MP3 yang korang dah process tu, korang tukar aaa nama dia. "Right click > Rename".. Makan masa sket.. Tapi, apa adahal.. hati tengah berbunga...  Layanzzz..

Pastu transfer aaa files tu kat MP3 Player..

So, berapa buah lagu boleh sumbat dalam 1 8GB memory?
1 cassette biasanya ada 12 lagu.. 1 CD pun biasanya ada 12 lagu.. bila jadi MP3, 1 lagu lebih kurang 5MB (full digital quality).. so.. calculate lebih kurang..
8,000,000,000 (8GB) / 5,000,000 (5MB) setiap lagu = 1,600
..buah lagu boleh sumbat dalam 8GB memory yg besarnya 10 kali ganda lebih kecik daripada cassette.

Abis!