Warning: The magic method Slickr_Flickr_Plugin::__wakeup() must have public visibility in /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php on line 152

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831
{"id":26398,"date":"2015-11-19T14:27:15","date_gmt":"2015-11-19T20:27:15","guid":{"rendered":"https:\/\/marcobackyard.withknown.com\/2015\/project-advance-3"},"modified":"2015-11-19T14:27:15","modified_gmt":"2015-11-19T20:27:15","slug":"project-advance-3","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2015\/2015\/project-advance-3\/","title":{"rendered":"#Project Advance 3"},"content":{"rendered":"
\n

#Warning<\/a> This is not the final final project, and It\u00b4s not complete.<\/h1>\n

\"\"<\/p>\n

\u00a1\u00a1\u00a1\u00a1Hi!!!! this is the advance of the project, but we dont know how to change this to pixels or vectors,\u00a0<\/p>\n

Link to code:\u00a0<\/p>\n

https:\/<\/wbr>\/<\/wbr>github.com\/<\/wbr>kenwbauer\/<\/wbr>TC101F15_Team01\/<\/wbr>commit\/<\/wbr>62ff22fecfd823e3d4496eea9a7cdad78116c46d<\/a><\/p>\n

<\/p>\n

\n
#include<\/a> <Magick++.h> <\/span>\n

#include<\/a> <iostream> <\/span><\/p>\n

using<\/span> namespace<\/span> std;\u00a0<\/p>\n

using<\/span> namespace<\/span> Magick;\u00a0<\/p>\n

void<\/span> newline<\/span>(){<\/p>\n

\u00a0 cout<<<\/span>endl;<\/p>\n

}\u00a0<\/p>\n

int<\/span> main<\/span>(int<\/span> argc,char<\/span> **<\/span>argv)\u00a0<\/p>\n

{\u00a0<\/p>\n

\u00a0 InitializeMagick(*<\/span>argv);<\/p>\n

\u00a0 try{<\/p>\n

\u00a0 int<\/span> x;<\/p>\n

\u00a0 cout<<<\/span>"Hi, Im a manipulator of images "<\/span><<<\/span>endl;<\/p>\n

\u00a0 newline();<\/p>\n

\u00a0 cout<<<\/span>"What do you want to do? (press the number in your keyboard) "<\/span><<<\/span>endl;<\/p>\n

\u00a0 newline();<\/p>\n

\u00a0 cout<<<\/span>"1. Rezise the image to one half of its original size"<\/span><<<\/span>endl;<\/p>\n

\u00a0 cout<<<\/span>"2. Switch to black and white"<\/span><<<\/span>endl;<\/p>\n

\u00a0 newline();<\/p>\n

\u00a0 cin>><\/span>x;<\/p>\n

\u00a0 if<\/span>(x==<\/span>1<\/span>){<\/p>\n

\u00a0 \u00a0 \u00a0newline(); \u00a0 cout<<<\/span>"Alright, now introduce the name of the file with its extension; example: new.jpg"<\/span><<<\/span>endl; \u00a0<\/p>\n

\u00a0 \u00a0 \u00a0newline();<\/p>\n

\u00a0 \u00a0 \u00a0Image image;<\/p>\n

\u00a0 \u00a0 \u00a0string img;<\/p>\n

\u00a0 \u00a0 \u00a0cin>><\/span>img;<\/p>\n

\u00a0 \u00a0 \u00a0image.read(img);<\/p>\n

\u00a0 \u00a0 \u00a0image.minify();<\/p>\n

\u00a0 \u00a0 \u00a0image.write("resized.jpg"<\/span>);<\/p>\n

\u00a0}<\/p>\n

\u00a0 if<\/span>(x==<\/span>2<\/span>){<\/p>\n

\u00a0 \u00a0 \u00a0newline();<\/p>\n

\u00a0 \u00a0 \u00a0cout<<<\/span>"Alright, now introduce the name of the file with its extension; example: new.jpg"<\/span><<<\/span>endl; \u00a0<\/p>\n

\u00a0 \u00a0 \u00a0newline();<\/p>\n

\u00a0 \u00a0 \u00a0Image image2;<\/p>\n

\u00a0 \u00a0 \u00a0string img2;<\/p>\n

\u00a0 \u00a0 \u00a0cin>><\/span>img2;<\/p>\n

\u00a0 \u00a0 \u00a0image2.read(img2);<\/p>\n

\u00a0 \u00a0 \u00a0image2.quantizeColorSpace( GRAYColorspace );<\/p>\n

\u00a0 \u00a0 \u00a0image2.quantizeColors( 256<\/span> );<\/p>\n

\u00a0 \u00a0 \u00a0image2.quantize( );<\/p>\n

\u00a0 \u00a0 \u00a0image2.write("blackandwhite.jpg"<\/span>);<\/p>\n

\u00a0} \u00a0 \u00a0 \u00a0\u00a0<\/p>\n

\u00a0}\u00a0<\/p>\n

\u00a0 catch<\/span>( Exception &<\/span>error_ )\u00a0<\/p>\n

\u00a0 \u00a0 { \u00a0cout <<<\/span> "Caught exception: "<\/span> <<<\/span> error_.what() <<<\/span> endl; \u00a0return<\/span> 1<\/span>;\u00a0<\/p>\n

\u00a0 \u00a0 }return<\/span> 0<\/span>;\u00a0<\/p>\n

}<\/p>\n

<\/p><\/pre>\n<\/div>\n

\u00a0<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"

\n

#Warning<\/a> This is not the final final project, and It´s not complete.<\/h1>\n

\"\"<\/p>\n

¡¡¡¡Hi!!!! this is the advance of the project, but we dont know how to change this to pixels or vectors, <\/p>\n

Link to code: <\/p>\n

https:\/\/github.com\/kenwbauer\/TC101F15_Team01\/commit\/62ff22fecfd823e3d4496eea9a7cdad78116c46d<\/a><\/p>\n

<\/p>\n

\n
#include<\/a> <Magick++.h> <\/span>\n

#include<\/a> <iostream> <\/span><\/p>\n

using<\/span> namespace<\/span> std; <\/p>\n

using<\/span> namespace<\/span> Magick; <\/p>\n

void<\/span> newline<\/span>(){<\/p>\n

  cout<<<\/span>endl;<\/p>\n

} <\/p>\n

int<\/span> main<\/span>(int<\/span> argc,char<\/span> **<\/span>argv) <\/p>\n

{ <\/p>\n

  InitializeMagick(*<\/span>argv);<\/p>\n

  try{<\/p>\n

  int<\/span> x;<\/p>\n

  cout<<<\/span>\"Hi, Im a manipulator of images \"<\/span><<<\/span>endl;<\/p>\n

  newline();<\/p>\n

  cout<<<\/span>\"What do you want to do? (press the number in your keyboard) \"<\/span><<<\/span>endl;<\/p>\n

  newline();<\/p>\n

  cout<<<\/span>\"1. Rezise the image to one half of its original size\"<\/span><<<\/span>endl;<\/p>\n

  cout<<<\/span>\"2. Switch to black and white\"<\/span><<<\/span>endl;<\/p>\n

  newline();<\/p>\n

  cin>><\/span>x;<\/p>\n

  if<\/span>(x==<\/span>1<\/span>){<\/p>\n

     newline();   cout<<<\/span>\"Alright, now introduce the name of the file with its extension; example: new.jpg\"<\/span><<<\/span>endl;  <\/p>\n

     newline();<\/p>\n

     Image image;<\/p>\n

     string img;<\/p>\n

     cin>><\/span>img;<\/p>\n

     image.read(img);<\/p>\n

     image.minify();<\/p>\n

     image.write(\"resized.jpg\"<\/span>);<\/p>\n

 }<\/p>\n

  if<\/span>(x==<\/span>2<\/span>){<\/p>\n

     newline();<\/p>\n

     cout<<<\/span>\"Alright, now introduce the name of the file with its extension; example: new.jpg\"<\/span><<<\/span>endl;  <\/p>\n

     newline();<\/p>\n

     Image image2;<\/p>\n

     string img2;<\/p>\n

     cin>><\/span>img2;<\/p>\n

     image2.read(img2);<\/p>\n

     image2.quantizeColorSpace( GRAYColorspace );<\/p>\n

     image2.quantizeColors( 256<\/span> );<\/p>\n

     image2.quantize( );<\/p>\n

     image2.write(\"blackandwhite.jpg\"<\/span>);<\/p>\n

 }       <\/p>\n

 } <\/p>\n

  catch<\/span>( Exception &<\/span>error_ ) <\/p>\n

    {  cout <<<\/span> \"Caught exception: \"<\/span> <<<\/span> error_.what() <<<\/span> endl;  return<\/span> 1<\/span>; <\/p>\n

    }return<\/span> 0<\/span>; <\/p>\n

}<\/p>\n

<\/p><\/pre>\n<\/div>\n

 <\/p>\n<\/div>\n","protected":false},"author":193,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[499,606,519,144,605,604,607,147,95,834],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/26398"}],"collection":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/users\/193"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/comments?post=26398"}],"version-history":[{"count":3,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/26398\/revisions"}],"predecessor-version":[{"id":30041,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/26398\/revisions\/30041"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/media?parent=26398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/categories?post=26398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/tags?post=26398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}