How To Pixel-Sort Images [TUTORIAL]

Поділитися
Вставка
  • Опубліковано 23 сер 2024
  • song
    it is what it is by west metro
    Want a UA-cam banner?:
    www.fiverr.com...
    Processing: (MAKE SURE YOU DONT DOWNLOAD VERSION 3. YOU NEED TO DOWNLOAD VERSION 2)
    processing.org...
    The "code":
    kimasendorf.tum...
    IF THAT LINK DOESNT WORK USE THIS:
    github.com/kim...
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Deviant Art: bozott.devianta...
    that's it!
  • Навчання та стиль

КОМЕНТАРІ • 109

  • @nothingsusual
    @nothingsusual 8 років тому +19

    For those of you who are following along with this video, and are getting errors related to the size variable, you're probably using Processing 3 instead of Processing 2. The developers made some adjustments in 3 which crippled the original Asendorf code that worked just fine in 2.
    To get pixel sorting to work in Processing 3, you can simply save the code here in a new workspace, or over the old code:
    www.openprocessing.org/sketch/374501
    From there, just follow along with Bozott's video. the only things you have to adjust are your filename and extension (as reported in the video above), as well as the dimensions of the original file you'd like to sort (put this in where it is indicated in the code annotation). Cheers!

  • @flamehead0025
    @flamehead0025 4 роки тому +4

    When i click run on a selected image file, i get brown banner at the bottom saying "cannot find anything named "surface" and in the code a portion of it is highlighted yellow that says surface.setResizable(true) ; Is this because my jpg is a certain size it cannot do or am I doing something incorrectly?

  • @kairi
    @kairi 5 років тому +6

    to fix surface error just delete the 2 lines containing it, easy.

    • @opnwtr
      @opnwtr 5 років тому

      exactly what i was looking for! If anyones still getting surface errors try this

  • @emilkuliev1260
    @emilkuliev1260 6 років тому +9

    Hey I am using a version 2 but I get an error cannot find anything named "surface", I tried to comment lines with surface but then I get a black image. And in third mode I get an error Negative Array Size Exception​.

    • @jns3584
      @jns3584 3 роки тому

      I faced the same issue

  • @pri0n
    @pri0n 9 років тому +2

    In case you are getting an error or crash when running, even on the included pics. I fixed this by running processing as admin.

  • @nacout
    @nacout 7 років тому

    you are truly a hero ugh i've been using version 3 instead of 2. thanks.

    • @RumblerGaming
      @RumblerGaming 7 років тому

      I get the error Could Not Run Sketch? Any Ideas?

    • @nacout
      @nacout 7 років тому

      boski never happened with me, make sure you're not using 3 and make sure you downloaded it for the correct bit for whatever your system is

    • @RumblerGaming
      @RumblerGaming 7 років тому

      Ofcourse I'm not using 3 and ofcourse it's the right version, a lot of people are saying it's something to do with Java but most error reports are on MAC. Useless to me.

  • @bingolol3
    @bingolol3 5 років тому +5

    hi! I can not download the code :(
    Not Found
    The requested URL /data/ASDFPixelSort.zip was not found on this server.

    • @Bozott
      @Bozott  4 роки тому +2

      github.com/kimasendorf/ASDFPixelSort/tree/23794ba7538681e09b1a78bf72e4bbc76e0f782a

  • @sshhobi2772
    @sshhobi2772 4 роки тому +1

    hey .. I didn't get the code... it shows file not found... please .. can anyone please help with sharing the code

  • @midierror
    @midierror 3 роки тому

    Thanks for the vid. I'm getting the same surface error mentioned in the comments.

  • @Chichilcitlalli
    @Chichilcitlalli 6 років тому +1

    Great, concise, no bs tutorial man! Thank you. Unlike some many other 15 minute+ long boring stuff where is more about a protagonist than the actual thing. What is the background song please? (Should credit the producer IMHO).

    • @Bozott
      @Bozott  6 років тому

      it is what it is by west metro.
      added it to desc

    • @Bozott
      @Bozott  6 років тому

      it is what it is by west metro
      added to desc now

    • @Chichilcitlalli
      @Chichilcitlalli 6 років тому

      Thanks. Have a nice day!

  • @P1xelHD
    @P1xelHD 7 років тому

    Thank you so much! Seriously appreciate it.

  • @KahurangiSteez
    @KahurangiSteez 8 років тому +1

    Legend, thanks heaps for sharing the source code

    • @Bozott
      @Bozott  8 років тому

      I actually didn't write any of the code at all

  • @mr_witchfinder
    @mr_witchfinder 7 років тому +5

    The file "pic.jpg" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable. What should I do with that?

    • @alltheserobotsshallfall
      @alltheserobotsshallfall 7 років тому

      that is an example, use your own image and name it whatever you want, but I guess you should use the same name so you won't get lost...er

    • @Mikkelsapiens
      @Mikkelsapiens 7 років тому

      still doesn't work

    • @highvis_supply
      @highvis_supply 6 років тому +1

      Run processing as admin, that should fix all accessing issues

    • @djaygizmo776
      @djaygizmo776 6 років тому

      How do i do this bro?

    • @soumyadeepdas1199
      @soumyadeepdas1199 6 років тому

      try typing JPG in all caps

  • @risonhighmer
    @risonhighmer 8 років тому +2

    Yeah but how does the code work? I didn't come here to be told how to click 'go' on a tool

    • @Bozott
      @Bozott  8 років тому +8

      +risonhighmer you should have come here if you wanted an image to be pixel sorted.
      as for the code, you could read it and understand what is going on specifically
      or if you don't need specifics, you could google "how does pixel sorting work"

  • @TRUTHF0RCE
    @TRUTHF0RCE 8 років тому

    It works!!! Thank you!!!!!

  • @usuariodeyoutubexd430
    @usuariodeyoutubexd430 7 років тому

    Wow nice, But If I would apply the effect in images 1000 x 1000 px aprox, I need to use the version 3?, If I use the different lines, how I rotate?... Im spanish :c

  • @rizkanco5387
    @rizkanco5387 7 років тому

    thank very much. awesomee tutorial!!! :)

  • @epicXfiles
    @epicXfiles 7 років тому +1

    is there anything to fiddle about with in the code to make it sort differently

  • @johndoerqaaa
    @johndoerqaaa 7 років тому +1

    I keep getting a "null pointer exeption" error, it says my file is 'missing' or inaccessible. The pic should be in the folder with the code right?

  • @henrylucas217
    @henrylucas217 8 років тому

    I have processing version 2.2.1, the image is a png named pic and its in the same folder as code but this error comes up when i try to open it: "I don't know how to open a sketch with the "png" file extension. You'll have to install a different processing mode for that"
    I also tried with the images given and it had the same problem.
    please help? Thanks

  • @jns3584
    @jns3584 3 роки тому

    Hey I am using version 2 but what does this mean? surface.setResizable(true);

  • @iWilliamTV
    @iWilliamTV 8 років тому

    thanks mate

  • @armageddon1597
    @armageddon1597 7 років тому

    Is anybody else getting something called NegativeArraySizeException. I can't do anything without that popping up.

  • @leventtseva
    @leventtseva 7 років тому

    thank you~

  • @sakenmusic
    @sakenmusic 7 років тому

    Yo I love this song! something metro right? I remixed it like 2 years ago

  • @justinegasquet2111
    @justinegasquet2111 7 років тому

    Hi it says "negative array size exception"… and wont work, even with small pics

    • @Bozott
      @Bozott  7 років тому

      processing 2, not processing 3

  • @midierror
    @midierror 3 роки тому

    Make sure you resize the image as well as set the filename!!

  • @santicarlini
    @santicarlini 8 років тому

    as I can modify the effect values?

  • @28kurdux
    @28kurdux 4 роки тому

    Not Found
    The requested URL /data/ASDFPixelSort.zip was not found on this server.

    • @Bozott
      @Bozott  4 роки тому +1

      github.com/kimasendorf/ASDFPixelSort/tree/23794ba7538681e09b1a78bf72e4bbc76e0f782a

  • @OZHKAR1
    @OZHKAR1 7 років тому

    yes!

  • @JERRXI
    @JERRXI 5 років тому

    is there a new "code" download? This keeps giving me a 404 error.

    • @opnwtr
      @opnwtr 5 років тому

      github.com/kimasendorf/ASDFPixelSort/tree/23794ba7538681e09b1a78bf72e4bbc76e0f782a

  • @igorbezdetko
    @igorbezdetko 8 років тому

    how to make vertical lines? in what place to change the code? =) thx

    • @Bozott
      @Bozott  8 років тому +1

      easiest way is just to rotate the image, run the code, then rotate the image backwards
      if you want to change the code you are gonna have to do it yourself

    • @igorbezdetko
      @igorbezdetko 8 років тому

      Bozott good idea =)

  • @marcell7406
    @marcell7406 7 років тому

    it didnt work for me bro like i did everything

  • @AliRahmoun
    @AliRahmoun 8 років тому

    would love to get the name of the music towards the end of the video .

    • @Bozott
      @Bozott  8 років тому +1

      +Ali Rahmoun Its something like
      it is what it is by west metro

    • @AliRahmoun
      @AliRahmoun 8 років тому

      +Bozott Thanks Dude :)

  • @Tyler-ei7gn
    @Tyler-ei7gn 8 років тому +1

    what about pixel sorting videos?

    • @Bozott
      @Bozott  8 років тому

      +Tyler Edits Would be possible, but would involve changing the script to pixel sort every frame in the video.

    • @Tyler-ei7gn
      @Tyler-ei7gn 8 років тому

      yea ik there are plugins for videos specifically but they cost money and i can't find a crack

    • @Bozott
      @Bozott  8 років тому

      you tried this?
      ua-cam.com/video/hGryUV5F0_s/v-deo.html

    • @Tyler-ei7gn
      @Tyler-ei7gn 8 років тому

      nah different i think that takes too much time

    • @AntonPhotog
      @AntonPhotog 8 років тому

      +Bozott You should check out Pixel Sorter AE plug in.
      aescripts.com/ae-pixel-sorter/

  • @radicalonly1231
    @radicalonly1231 8 років тому

    Code doesnt work (anymore?) " Could not find file size" what am i doing wrong?

    • @Bozott
      @Bozott  8 років тому

      +Radical Artworks you need to use version 2

    • @radicalonly1231
      @radicalonly1231 8 років тому

      +Bozott Thanks, it did run this time but it left me with a broken image. When i open it i just get nothing.

    • @Bozott
      @Bozott  8 років тому

      Radical Artworks
      did you use the right image extension?
      try opening the image in a different image editing/viewing program.
      do you get an error message when trying to open image (if so what does it say) or is it just fully black/white

    • @radicalonly1231
      @radicalonly1231 8 років тому

      I did use the right extension, however when i use a jpg it automatically exports to a png. I than can open the image in preview but it's just a blank screen (not even white or black, there are no pixels at all)

  • @braisdoval7143
    @braisdoval7143 9 років тому

    im error : could not find sketch size.
    solution? thx

    • @Bozott
      @Bozott  9 років тому

      +Brais DoVal you sure you have processing version 2?
      you sure you put the image in the same location as the code?
      does the image name/extension match insde the code?
      try it with the default images you get given.

    • @emilywoolf8445
      @emilywoolf8445 8 років тому

      +Bozott How do you do this on version 3?

    • @Bozott
      @Bozott  8 років тому

      Emily Woolf
      No idea. Might not even be possible. You need to use version 2

  • @Jam12
    @Jam12 9 років тому

    how much for logo and banner

    • @Bozott
      @Bozott  9 років тому

      +Lux Elite free

  • @ggxdesign
    @ggxdesign 7 років тому +1

    surface problem anyone?

  • @kirby2986
    @kirby2986 8 років тому

    im having trouble with the size of the image can anyone give me very good instructions im using Processing 2 btw.

    • @Bozott
      @Bozott  8 років тому

      how big is your image? try resizing it down.
      can you give the exact message you receive when you try and run the code?

    • @kirby2986
      @kirby2986 8 років тому

      Bozott the width is 1150 and the height is 720 and the message is NegativeArraySizeException

    • @Bozott
      @Bozott  8 років тому

      TheSealUnderYourBed
      what file format?

    • @kirby2986
      @kirby2986 8 років тому

      Bozott jpg

    • @kirby2986
      @kirby2986 8 років тому

      are you there?

  • @EargasmLover
    @EargasmLover 8 років тому

    " please fix the size line" what do i do?...

    • @Bozott
      @Bozott  8 років тому

      +Casey-Jay Highfield no idea, make sure:
      you are using the correct version of processing (2.*)
      you have the image in the correct location
      you have spelt the image name correctly
      If none of that works try it with a different image or with the default images

    • @EargasmLover
      @EargasmLover 8 років тому

      no worries figured out the problem

    • @Bozott
      @Bozott  8 років тому

      Casey-Jay Highfield
      what was the problem?

    • @ludwigmerch6221
      @ludwigmerch6221 8 років тому

      +Casey-Jay Highfield hey, are you using processing 3 ? because I had the same message alert, but when I applied the right image size the script didn't seem to work. Thanks for your input

    • @EargasmLover
      @EargasmLover 8 років тому

      I was using 3 and tried to do the size but no prevail so I just downloaded 2.2.1 ( pretty sure thats the version anyway)

  • @Unatcowomensbathroom
    @Unatcowomensbathroom 7 років тому

    whats the music, man?