Notifications
Clear all

Adding a PNG photo to your user patch


Sonasrec
(@sonasrec)
Active Member
Joined: 1 year ago
Posts: 6
Topic starter  

Hi Shane,

 

Couldn't find this in the user guide. Is there an easy way to add your own PNG photo to your user patch? Thanks.


Quote
Hexabuzz
(@hexabuzz)
Estimable Member
Joined: 1 year ago
Posts: 124
 

https://pluginguru.net/unify/manual/doku.php?id=making-libs

About Media folders and patch images

  • Media folder is optional:
    • Every Unify library can optionally have a Media subfolder. Look at the one in the Unify Standard Library to see an example.
  • How Unify finds the image for each patch:
    • When a patch is loaded, Unify looks in the Media folder for an image file which has the same file name as the patch (e.g. if the patch file is MyCoolPatch.unify, it looks for MyCoolPatch.png or MyCoolPatch.jpg). If a matching image is found, it will appear to the right of the patch description at the top of the Unify GUI.
    • Note the file name may not be the same as the displayed patch name. For example, if you originally called your patch “My Patch”, you would probably have saved it as My Patch.unify, but if you later changed the patch name to “My Cool Patch” and updated it (“Save” not “Save As”), the patch file name would still be My Patch.unify, but the patch name would show as “My Cool Patch”.
    • When creating images to go with your patches, match the patch file name, not the displayed patch name.
    • If Unify does not find a matching image in the library's Media folder, it will look for any image file in the Patches folder, and will display the first one it finds. (Don't put more than one image in there, because the others will be ignored.) This is the “library image”. If there is no library image, Unify will show the default “plug and lightning” image.
  • Image sizes and formats:
    • Unify will accept images of any size, and will resize them to fit inside its display area, which is 96×96 pixels in size. If your images are much larger, and/or are not square, you may not like the result. You will get the best results if you craft your images to be exactly 96×96 in size.
    • JPEG (.jpg) and PNG (.png) are the recommended image formats. Other formats may work, but not necessarily on all computers.
    • In general, PNG is best for simple graphics, and JPG is best for photographs. (But at such small sizes, the differences are minor.)

Robert.P liked
ReplyQuote
Leszek 1953
(@leszek-1953)
Member
Joined: 2 years ago
Posts: 357
 

(@hexabuzz)

 

Good job! and that's how the events should be described in the manual for each device.

Regards

Les.

 


ReplyQuote
Share: