src = $sursa; $this->img = $this->loadImage(); if($this->img) $this->color = @imagecolorallocate($this->img, 255, 255, 255); } function save($dest,$c=100) { if($this->imgtype == 1) imagegif($this->InternalImage,$dest); if($this->imgtype == 2) imagejpeg($this->InternalImage,$dest,$c); if($this->imgtype == 3) imagepng($this->InternalImage,$dest); } function setColor($r=255,$g=255,$b=255) { return $this->color = imagecolorallocate($this->img, $r, $g, $b); } function loadImage() { if(file_exists($this->src)) { $data = getimagesize($this->src); //[0] = w, [1] = h, [2] = type, [3] = attr $this->w = $data[0]; $this->h = $data[1]; switch ($data[2]) { case 1: $this->imgtype = 1; $tmp_image = @imagecreatefromgif($this->src); break; case 2: $this->imgtype = 2; $tmp_image = @imagecreatefromjpeg($this->src); break; case 3: $this->imgtype = 3; $tmp_image = @imagecreatefrompng($this->src); break; default: $this->Err = 'Fisierul nu este imagine!'; return false; exit; break; } return $tmp_image; }else{ $this->Err = 'Fisierul nu exista!'; return false; } } function resize($nw='auto',$nh='auto',$stretch=false,$enlarge = false) { if($nw == 'auto' && $nh == 'auto') { $nw = $this->w; $nh = $this->h; }else{ if($nw == 'auto') { $nw = ( $this->w * $nh )/ $this->h; } if($nh == 'auto') { $nh = ( $this->h * $nw )/ $this->w; } } // setam dimensiunile initiale ale imaginii $fw = $nw; $fh = $nh; // daca nu se doreste distorsionarea imaginii if($stretch === false) { // verificam mai intai dupa inaltime -> nw constanta! $nh_ = ( $this->h * $nw )/ $this->w; // daca $nh_ este mai mare, atunci se modifica nw -> nh = constant! if($nh_ > $nh) { $fw = ( $this->w * $nh )/ $this->h; $fh = $nh; }else{ $fw = $nw; $fh = ( $this->h * $nw )/ $this->w; } } // daca imaginea este mai mica, se mareste sau nu? if($enlarge === false) { if($this->w < $fw && $this->h < $fh) { $fw = $this->w; $fh = $this->h; } } $tmp=imagecreatetruecolor($fw,$fh); // copiem imaginea originala in $tmp -> se face resize if(imagecopyresampled($tmp,$this->img,0,0,0,0,$fw,$fh,$this->w,$this->h)) { $this->InternalImage = $tmp; return $this; }else{ $this->Err = 'Redimensionare nereusita!'; return false; } } function smartcrop($nw,$nh) { $r = $this->w / $this->h; $nr = $nw / $nh; $fw = $nw; $fh = $nh; if($r > $nr) { $this->resize('auto',$nh); $fw = ( $this->w * $nh ) / $this->h; }else{ if($r < $nr) { $this->resize($nw); $fh = ( $this->h * $nw ) / $this->w; }else{ return $this->resize($nw,$nh); } } $tmp = imagecreatetruecolor($nw,$nh); $x = ( $fw - $nw ) / 2; $y = ( $fh - $nh ) / 2; if(imagecopyresampled($tmp, $this->InternalImage, 0, 0, $x, $y, $nw, $nh, $nw, $nh)) { $this->InternalImage = $tmp; return $this; }else{ $this->Err = 'Redimensionare nereusita!'; return false; } } function justcrop($x,$y,$nw,$nh) { $tmp = imagecreatetruecolor($nw,$nh); if(imagecopyresampled($tmp, $this->img, 0, 0, $x, $y, $nw, $nh, $nw, $nh)) { $this->InternalImage = $tmp; return $this; }else{ $this->Err = 'Redimensionare nereusita!'; return false; } } function addtext($text,$size=12,$angle = 0, $x=5, $y=5,$fontfile='engine/resource/fonts/verdana.ttf') { $fx = $x; $fy = $y + $size; imagettftext ($this->InternalImage,$size,$angle,$fx,$fy,$this->color,$fontfile,$text); return $this; } function watermark($wstring,$part='CENTER') { $watermark = imagecreatefrompng($wstring); $ww = imagesx($watermark); $wh = imagesy($watermark); $iw = imagesx($this->InternalImage); $ih = imagesy($this->InternalImage); // watermark position switch($part) { case 'CENTER': $x = ( $iw - $ww ) / 2; $y = ( $ih - $wh ) / 2; break; case 'TOPLEFT': $x = 5; $y = 5; break; case 'TOPRIGHT': $x = $iw - $ww - 5; $y = 5; break; case 'BOTTOMLEFT': $x = 5; $y = $ih - $wh - 5; break; case 'BOTTOMRIGHT': $x = $iw - $ww - 5; $y = $ih - $wh - 5; break; default: return false; } imagecopymerge($this->InternalImage, $watermark, $x, $y, 0, 0, $ww, $wh, 50); return $this; } function display($c=100) { /* header("Content-type: image/jpeg"); imagejpeg($this->InternalImage); */ ob_start(); imagejpeg($this->InternalImage, "", 100); $this->InternalImage = ob_get_contents(); ob_end_clean(); $this->InternalImage = substr_replace($this->InternalImage, pack("Cnn", 0x01, 300, 300), 13, 5); header("Content-type: image/jpeg"); echo $this->InternalImage; } function showErr() { echo $this->Err; } } ?> Cookin Soul – The Beat Tape Vol. 1 Hosted by Don Cannon // Free Mixtapes @ HDMixtapes.com
Home > Mixtapes > Don Cannon
Views: 1374 Downloads: 304

Rating:   

Dj: Don Cannon Genre: Hip Hop/Rap
Released: Feb 10, 2012 Runtime: 66 Min. Size: 90.4 MBs


Cookin Soul | The Beat Tape Vol. 1
Name
Artist
Time
Rating
1.
Intro
Don Cannon
01:12

2.
LA Confidential
Nipsey Hussle
04:15

3.
Jet Life
Currensy
03:22

4.
Summer In Brooklyn (Remix)
Jay Z
03:10

5.
Food For Thought
Joell Ortiz
02:54

6.
Notta Game (Feat. Smif N Wessun)
Tek
03:50

7.
Westwood (Freestyle)
Drake
02:19

8.
Give It Up (Remix)
La Melodia
02:52

9.
Dopeman
Nicki Minaj
02:28

10.
Aqui Te Pillo Aqui Temazo
Cookin Bananas
02:48

11.
Bring The Goons Out
Grafh
02:54

12.
Skit
Don Cannon
00:36

13.
Black And Yellow (Remix)
Wiz Khalifa
04:16

14.
Hater
Killa Kyleon
02:34

15.
Hustlers Ambition (Remix)
50 Cent
02:50

16.
Come On Baby
Mac Miller
02:30

17.
Lip Sing
Max B
03:14

18.
Halloween
Night Of The Living Dead
02:46

19.
Nothin Less (Feat. Roddy)
Trademark
02:33

20.
The Hussle
Nipsey Hussle
03:34

21.
Una Vida Por Delante
Nach
03:25

22.
Show Is Over
The Game
02:49

23.
Outro
Don Cannon
01:19

24.
Beat
New Era
02:25

24 Items Total




Skeme Ingleworld 2

Hodgy Beats Dena Tape 2

Young Chris Network 3

Various Artists The Streets Is Ours ...