Why did my PSD template got hard rejected in ThemeForest? - psd

I've prepared proper documentation in a word file and prepared PSD by giving proper naming of each group. Then after I've put all PSD files and Word documents in a single zip. Also, I've created another zip by giving the name 'Screenshots.zip'. In the screenshot zip, I've put the Preview image and the other 6 JPGs. Still, my PSD template got hard rejected.

Related

Original filetype of ashx file

I'm building a PHP application that uses data from a web service. I add an image to a desktop application which then saves it to the web. The web service provides image URLs using the .ashx file extension. If I put one of these in an <img src="file.ashx?pictureId=abc123">, it displays as an image.
I want to store these images. I know they'll generally be .jpg files and can run file_get_contents on this and save it as such. However, if one was a .png, for example, I'd still be saving it with a .jpg extension, so it's an assumption I don't wish to make.
I've had a look at the raw string of characters of the file and cannot see any identifying features to tell me that it's a .jpg, apart from perhaps the clue that it was created in Photoshop. Nowhere does it say what kind of file it was originally, either extension or original filename.
Is there a way of finding the original filetype of a file contained within .ashx URL?
The question doesn't make any sense. Maybe the .ashx script generates the image on the fly out of nothing and there is no "original".
The correct question is: how to find the type of the image retrieved from the .ashx URL?
Save the image into a (temporary) file then use getimagesize() to find its type (GIF, JPEG, PNG etc) and choose the correct termination for its final file name.

JavaFX - Resource paths and loading an image

My image doesn't want to be loaded, I don't know if it's the path, image format or error in the code. I have tried to detect what the problem is by different ways.
Here is the error code.
My workspace is located at
This folder contains two additional folders, "bin" and "src". I have tried relocating my image to different subfolders just to be sure.
But still won't work, unfortunately. After having read the questions here on the site, there was a suggestion to check the path with these two short codes.
(tried also with texAccount.png)
The first command was successful, giving me the following line.
And then I became confused. It wants to load files from the "bin" subfolder, however my Scanner opens, reads, writes all the files into the root folder. I do not have my text files in the "bin" subfolder but the root folder and works perfectly. Maybe it just loads from the very first folder in my root folder? I created a subfolder named "asd" just to check it: No, I was wrong. The program definitely wants to load my image from the "bin" folder, giving me the same message as above.
I spammed all the folders with my picture. Okay, so my image is in the right folder after all. I thought I would check my code rather.
I tried to change the "texAccount.png" in code to just "texAccount", still would not load. Then I renamed my actual image file to "texAccount" and "texAccount.png", however I combined the names it showed no progress.
My image is only 20x20 in size, but contains alpha channel. As I am a beginner, I do not know, maybe alpha images must be dealt in some other ways, so to be sure I deleted my alpha channels and made a fully black picture, basically a 20x20 black box, no success.
I have tried converting my file to .jpg and three other formats.
I have imported all the required classes and packs needed for working with images.
Thank you very much!
( I posted all my codes and quotes as pictures )
Image image = new Image("texAccount.png");
Do not need to do other steps!

Extract images from .swf viewer?

I'm wondering how it possible to extract images from .swf viewer?
Note that .swf file have not images itself.
For example I'm trying extract images from AVON catalogue from this link - http://avon.com.ua/PRSuite/eBrochure.page?index=1&cmpgnYrNr=201404&pageNo=0
Any ideas?
Best way is to put the .swf file in a decompiler for image extraction. Decompilers are smart enough to extract images for you and arrange them.
JPEXS Free Flash Decompiler is a more popular one
http://www.free-decompiler.com/flash/
You can extract other useful content from it as well.
Just download the .swf file from the website
A while back (like around 1999) I wrote a set of tools for Flash animations.
One of the tools is swf_dump which can be used to extract objects (i.e. write the objects in a form of script that sswf can nearly recompile...)
The tool also allows for extracting images that are inline (not downloaded dynamically by the flash animation, if so, anyway, you could as well download those images manually, you'd need the URL, though.)
The command line you can use is:
swf_dump -d my-animation.swf
Then your current folder will be littered with all the images that were found in the flash file. It extracts JPEGs and PNGs. The source can be compressed (SWF or CWF are supported.)
Now, you're on your own to compile that thing... The project is here and is in great need of updating (but Flash is kind of going out too...)
https://sourceforge.net/projects/sswf/

Images not displaying in word File after linking images in the file

I have a word file.
I have inserted images by linking it to avoid more size of doc file. Here I have kept the all images into a folder and linked in the doc file. This works fine.
But, when I send to my friend the doc file the the image file, the images cannot be seen. Quite obvious due to path has been changed.
I don't want to host the images online. If I do, this will resolve if I'm online.
If I'm off line I can't view the images in the doc file.
How do I overcome this problem?
Why not just get your friend to edit hyperlinks to update it to location of each image on their machine?

Having a file open automatically when the compressed folder containing it is unzipped

I have a compressed (zipped) folder with several KML files and some image files in it. I will soon make the compressed folder available to download from a web site; once the site's user downloads the file, they can unzip it. I am wondering if there is a way to make a certain one of the KML files open in Google Earth automatically as soon as the folder is unzipped (this file is linked to the other KML files in the folder, and opening it in Google Earth is a much handier way of viewing all the KML files than opening each file individually). Is there any way of implementing this? The operating system on my machine is Windows 7, in case this helps.
The act of unzipping a .zip file cannot easily be triggered to open a particular file as you describe on the file system. You would need a drop-box like mechanism with a custom application waiting for new contents in a particular folder.
However, KMZ is a zipped file which when opened by Google Earth will display the root-level KML file (typically named doc.kml) so a workable solution would be to create a single KMZ file with folder-structure as needed. The KMZ file would include a parent KML with links to the sub-KML files either as anchor links (or feature anchor) accessed via feature description and/or as network links.
The parent KML file can have in its top-level KML element an description with an index or table of contents with links to all the sub-KML files.
A working example of a feature-anchor can be found here:
http://kml-samples.googlecode.com/svn/trunk/kml/feature-anchor/feature-anchor-semi.kmz
A good description of feature anchors in action with examples can be found in Chapter 2 of the KML Handbook.

Resources