Photoshop resize circularly - photoshop

Is there a way to do this circular resize of a pattern in photoshop (flat image) ?

Related

Exporting Illustrator AI to SVG without a white background

I have a Illustrator CS5 AI file that has two shapes in it on a transparent background/artboard. However, when I save this file as a SVG file (1.1) using "Save as", the resulting SVG file has a white background.
How do I get rid of the white background in the SVG file?
The AI file can be found here:
http://hostsafe.com/temp/in.ai
The SVG file that I keep getting can be found here:
http://hostsafe.com/temp/in.svg
Exported svg does not contain white background, it is just another view mode (hidden transparency grid). To show the transparency grid again go to 'View->Show Transparency Grid' or press Shift+Ctrl+D.

Batch resize images with different background colors

My goal is to batch resize images with different background colours.
I already used Photoshop to batch process and centre (horizontal and vertical align) 2000 different images into square 200x200 tiles on a white background (the images are different in size, background colour, and sometimes file-type).
I can process and batch resize the images and place them on a white 200x200 tile using the batch processor and recorded 'Actions'. With transparent .png images, this looks great.
The problem is that some of the images have a coloured background. If an image has a coloured background a white border around the image looks quite awful.
How do I dynamically resize the non-transparent images of different colours and sizes to 200x200 square .jpg images? I can do it manually with the colour-picker but is there another option?
As you can see it is only a problem when images have a coloured background.
Thank you in advance!
Save the following script somewhere convenient:
var myDocument = app.activeDocument;
myDocument.colorSamplers.removeAll();
var myColourSampler = myDocument.colorSamplers.add([1 , 1]);
app.backgroundColor = myColourSampler.color;
At the start of the action your going to use for your batch process, record the opening of the script (File >> Scripts >> Browse...), then go and get the script.
It will take the colour of the top left pixel and set it as the background colour, your action should do the rest

Put an image with transparent background into a pdf using Libharu

I have to put an image (.png) into a pdf file using LibHaru. The image has a transparent background due to which it looks quite awkward (black background) into the pdf file.
How can I put this image (with transparent background) properly using C++ LibHaru?
You need to split your PNG file into two images: one for color pixels and another one for opacity values. Then you need to add the color image into PDF with specifying the second as SMASK property.
See 4.8.4 Image Dictionaries in PDF specification for more details.
You can use HPDF_Image_AddSMask method for this.

How to create transparent start orb image using illustrator?

I designed a start orb bitmap with illustrator in specified dimensions(66x198px)..
When i saved and set it as my start button.. Though its transparent, some Faded white background is applied to the start button.. How to create transparent start orb image using illustrator.. ?
Thank you..
1) Apply an appropriate effect (I Like Distort | Diffuse Glow)
2) Export as PNG and ensure the background color on the PNG options dialog is Transparent.
3) Open PNG in Photoshop and delete "almost white" colors.
4) Enjoy

how can I transform size of svg with svg-edit

Is it possible to change the size of an existing svg using svg edit? I https://code.google.com/p/svg-edit/ I have a rather large svg that I wish to scale down. Google's tool doesn't have an icon (that I can see) to scale the size
Scaling an entire SVG document isn't really supported as a button press or anything but it can be accomplished.
Open your project into SVG-Edit, select everything (press A on your keyboard) then right click and choose Group. Then go to Menu > Document Properties and enter your new dimensions. Then select your SVG content and move it onto your new small canvas. Easiest way is to use the X and Y coordinates in the top grey bar (enter 0 for both). Then just resize the whole document as needed by dragging the small circles located on the corners of your content. Hold the shift key on your keyboard to scale proportionately.