I'm not clear what you are realyl expecting. The function works as advertised. Shape layers cannot contain pixel elements and AE has no magic way of vectorizing pixel data in AI files. You have to do the necessary preparations in AI already. Your whole workflow is crooked.
Sorry if it wasn't clear : I have a shape created in illustrator, which is in "outlines", I didn't vectorize it (see image)
I imported it in After Effects and did right click > convert to shape (my Adobe is in French so sorry if it is unclear)
then when it's done I have a shape composed of backgrounds, not outlines like it should be...
And when it's like this I can't do the path animation correctly...
So I either want to import my shape in outlines layers, either find a "clean" way to animate it like the illustration is drawn.
I hope you can help me with this.
It still seems to me you simply don't understand how shape layers and things like fills, strokes and the trim paths option work and frankly playing coy with us and zooming into your design infinitely to hide its content is not useful. I would suggest you start digging into your shape layer paths and organize them properly into groups. It really might not hurt for you to watch some tutorials on this stuff.
Sorry if I'm unclear for you but this doesn't mean you have to be agressive. I'm here to ask for help, not play around, I have better things to do and I hope you do too ^^ .....
So ! I understand how trim path works, you set a beginning and or end value from 0 to 100% to animate it like it's "drawn". This is exactly like this animation here found in a random AE tutorial : after effects tutorial : Cartoon lines animation - YouTube
The lines draw themselves thanks to the trim path feature.
Now because I zoomed to illustrate what I said doesn't mean I hid my design purposedly, and even if I did this is not, I think, an issue in my question.
I will ask again, differently :
I have a path in illustrator, that I drew with the feather (and once again I don't know the english name of the features and tools). This path isn't vectorised (by the menu vectorize path/vectorize outlines), it's as it was created.
After saving the .ai, I import it in AE and transform the layer in shapes. I have all my groups etc but this isn't a problem. What we have to pay attention to here is not the number of groups in my shape layer, it's the "add > trim path" and the "background color". All my shape was transformed with a white background and not a white outline as it was in Illustrator. So when I begin playing with the features of trim path (beginning/end), obviously it fills the background and it doesn't animate like in my example earlier.
My point is : how to import a path that was in an "outline" state in Illustrator in AE without it changing state ? I had an outline path, I want a shape layer with outlines and not backgrounds.
Thank you very much.
Je ne sais pas si j'ai bien compris ta question mais en gros: Le tracé que tu as créé dans illustrator tu le copies (ctrl+C), tu crées un solide dans AE et tu le colles (ctrl+V) . Tu mets un effet trait à ton solide (cet effet est trait bien tu verras) et hop t'as un tracé qui s'anime.
Dans le filtre n'oublies pas de choisir Transparent.
Solve this issue yet, amathieu2? Let us know.